chore(actions): add -- before arguments to pesde tools

This commit is contained in:
Erica Marigold 2024-12-02 11:25:13 +00:00
parent 18fd2411bb
commit 71d9868a9a
Signed by: DevComp
GPG key ID: 429EF1C337871656
2 changed files with 9 additions and 1 deletions

View file

@ -4,4 +4,11 @@ local process = require("@lune/process")
local CommandBuilder = require("./exec")
process.exit(CommandBuilder.new("stylua"):withArg("."):withArgs(process.args):withStdioStrategy("forward"):exec().code)
process.exit(
CommandBuilder.new("stylua")
:withArg("--")
:withArg(".")
:withArgs(process.args)
:withStdioStrategy("forward")
:exec().code
)

View file

@ -6,6 +6,7 @@ local CommandBuilder = require("./exec")
process.exit(
CommandBuilder.new("luau-lsp")
:withArg("--")
:withArg("analyze")
:withArgs({ "--settings", ".vscode/settings.json" })
:withArgs({ "--ignore", "'**/.pesde/**'" })