diff --git a/tools/cli/commands.js b/tools/cli/commands.js index ab2e89df55..95497cf1a5 100644 --- a/tools/cli/commands.js +++ b/tools/cli/commands.js @@ -1053,8 +1053,9 @@ main.registerCommand({ if (err) throw new Error("git is not installed"); const isWindows = process.platform === "win32"; - process.env.GIT_TERMINAL_PROMPT = 0; // Set GIT_TERMINAL_PROMPT=0 to disable prompting + process.env.GIT_TERMINAL_PROMPT = 0; + const gitCommand = isWindows ? `git clone --progress ${url} ${files.convertToOSPath(appPath)}` : `git clone --progress ${url} ${appPath}`;