From 71d9868a9ad768fbbc13c63962b996181e862361 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 2 Dec 2024 11:25:13 +0000 Subject: [PATCH] chore(actions): add `--` before arguments to pesde tools --- .lune/fmt.luau | 9 ++++++++- .lune/typecheck.luau | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.lune/fmt.luau b/.lune/fmt.luau index 76bbd7f..a60edd7 100644 --- a/.lune/fmt.luau +++ b/.lune/fmt.luau @@ -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 +) diff --git a/.lune/typecheck.luau b/.lune/typecheck.luau index 6602e16..992fd4a 100644 --- a/.lune/typecheck.luau +++ b/.lune/typecheck.luau @@ -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/**'" })