From fd38816ff65e6f76caaebaaeaf0bb16d0629e2ef Mon Sep 17 00:00:00 2001 From: bbassie <17990055+bbassie@users.noreply.github.com> Date: Mon, 10 Aug 2026 09:33:54 +0000 Subject: [PATCH] Write the factorio typedefs where the config looks for them `fmtk luals-addon ` treats its argument as the parent and always appends `factorio`, so the bundle landed in `$RUNNER_TEMP/factorio/factorio` while the config pointed at `$RUNNER_TEMP/factorio/library`. The factorio types were never loaded, which is why ci reported 642 undefined-global and 1204 type-not-found against a tree that is clean locally. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/fmtk.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fmtk.yml b/.github/workflows/fmtk.yml index c74249d7..227585f1 100644 --- a/.github/workflows/fmtk.yml +++ b/.github/workflows/fmtk.yml @@ -29,7 +29,7 @@ jobs: - name: Generate Factorio typedefs run: | pnpm install factoriomod-debug - pnpm exec fmtk luals-addon "$RUNNER_TEMP/factorio" + pnpm exec fmtk luals-addon "$RUNNER_TEMP" - name: Install emmylua_check run: | curl -fsSL "https://github.com/EmmyLuaLs/emmylua-analyzer-rust/releases/download/${EMMYLUA_CHECK_VERSION}/emmylua_check-linux-x64.tar.gz" \