Make aliases relative

This commit is contained in:
Ukendio 2024-07-07 00:52:22 +02:00
parent f6a734d02e
commit 2aecdc6fe1
3 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{
"aliases": {
"jecs": "C:/Users/Marcus/Documents/packages/jecs/src",
"testkit": "C:/Users/Marcus/Documents/packages/jecs/testkit"
"jecs": "src",
"testkit": "testkit"
}
}

View file

@ -800,7 +800,7 @@ local function preparedQuery(compatibleArchetypes: { Archetype },
return queryNext
end
local function replace()
local function replace(fn)
for _, compatibleArchetype in compatibleArchetypes do
local archetype = compatibleArchetype.archetype
local tr = compatibleArchetype.indices

View file

@ -449,7 +449,6 @@ TEST("world", function()
count += 1
end
print(count)
CHECK(count == 2)
end
end)