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": { "aliases": {
"jecs": "C:/Users/Marcus/Documents/packages/jecs/src", "jecs": "src",
"testkit": "C:/Users/Marcus/Documents/packages/jecs/testkit" "testkit": "testkit"
} }
} }

View file

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

View file

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