mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
manage better env variables spread to git child processes
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user