cli - set VSCODE_CLI earlier (#119660)

This commit is contained in:
Benjamin Pasero
2021-03-29 14:20:37 +02:00
parent 456651f286
commit 3a2a24e452
2 changed files with 3 additions and 1 deletions
-1
View File
@@ -118,7 +118,6 @@ export async function main(argv: string[]): Promise<any> {
else {
const env: NodeJS.ProcessEnv = {
...process.env,
'VSCODE_CLI': '1', // this will signal Code that it was spawned from this module
'ELECTRON_NO_ATTACH_CONSOLE': '1'
};