From ceccf0b8ff81fbdd2e54da3d3e38ae2881533c57 Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Thu, 14 Nov 2024 00:33:48 +0900 Subject: [PATCH] fix(wsl/setup-git.ts): fix uncorrectly escaped gh auth commands --- wsl/setup-git.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wsl/setup-git.ts b/wsl/setup-git.ts index ab4e2007..d96f94e5 100755 --- a/wsl/setup-git.ts +++ b/wsl/setup-git.ts @@ -24,7 +24,7 @@ const ensureGitHubTokenScopes = async (): Promise<() => Promise> => { // bun shell doesn't support reading from stdout and stderr while running a command // ref: https://github.com/oven-sh/bun/issues/14693 const process = spawn( - ["gh", "auth", ...$.escape(subcommand).split(" ")], + ["gh", "auth", ...subcommand.split(" ")], // default is "inherit" which just logs to the console // ref: https://bun.sh/docs/api/spawn#output-streams { stderr: "pipe" },