chore(scripts): fix darklua config file getting removed before build

This commit is contained in:
Erica Marigold 2023-09-27 00:30:06 +05:30
parent fbb44cb4a3
commit df81390c01
No known key found for this signature in database
GPG key ID: 7843994FD1386E35

View file

@ -63,12 +63,6 @@ fs.writeFile(
}) })
) )
codegen({
rules = {
"config",
},
})
local loader = task.spawn(function() local loader = task.spawn(function()
local chars = { "-", "\\", "|", "/" } local chars = { "-", "\\", "|", "/" }
local isFirstRun = true local isFirstRun = true
@ -108,6 +102,6 @@ task.spawn(function()
print() print()
print(`{WAX_PREFIX_FORMAT("info")} Successfully built terracotta.luau!`) print(`{WAX_PREFIX_FORMAT("info")} Successfully built terracotta.luau!`)
end end
end)
fs.removeFile(".darklua.json5") fs.removeFile(".darklua.json5")
end)