Fix three toolchain bugs found on the first real local run #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/toolchain"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The initial skeleton shipped with luacheck and Node uninstalled, so
make lint,make bundleandmake check-normalizedhad never run. All three were broken; two failed silently.make lintchecked zero files. luacheck expands a directory argument to*.lua, and every script here is*.ttslua— soluacheck lib gamesmatched nothing and exited 0, indistinguishable from a clean run.unused_globals = falsedoes not suppress it and droppingallow_defined_toponly converts it to W111, so game sources ignore 131 explicitly.make normalize/check-normalizedexited 2 with no saves committed. The guard'sexit 0sat on its own recipe line and ended only that subshell.The failing run on
mainis the third bug, and is the reason this PR exists.Verified locally against luacheck 1.2.0_1 and Node 24: lint reads 3 files with 0 warnings,
bundle-allresolves the require graph,check-normalizedexits 0.