File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 5252 - name : Run Tests
5353 run : |
5454 echo '{ "aliases": { "self": "src" } }' > .luaurc
55- luau-lsp analyze --platform=standard --no-flags-enabled --flag LuauSolverV2=true src/init.test.luau
55+
56+ # Sync FFlags from Roblox (same as VS Code luau-lsp extension with fflags.sync: true)
57+ FLAGS="--no-flags-enabled"
58+ while IFS='=' read -r key value; do
59+ FLAGS="$FLAGS --flag $key=$value"
60+ done < <(curl -s "https://clientsettingscdn.roblox.com/v1/settings/application?applicationName=PCStudioApp" \
61+ | jq -r '.applicationSettings | to_entries[] | select(.key | test("^(FFlag|FInt|DFFlag|DFInt)Luau")) | "\(.key | sub("^(FFlag|FInt|DFFlag|DFInt)"; ""))=\(.value)"')
62+
63+ FLAGS="$FLAGS --flag LuauSolverV2=true"
64+ luau-lsp analyze --platform=standard $FLAGS src/init.test.luau
5665
You can’t perform that action at this time.
0 commit comments