env - set timeout back to 10s but show warning when it takes long

This commit is contained in:
Benjamin Pasero
2020-11-20 09:59:23 +01:00
parent 6541e52b5b
commit 6fdc79d81a
10 changed files with 56 additions and 33 deletions
-4
View File
@@ -123,10 +123,6 @@ export async function main(argv: string[]): Promise<any> {
'ELECTRON_NO_ATTACH_CONSOLE': '1'
};
if (args['force-user-env']) {
env['VSCODE_FORCE_USER_ENV'] = '1';
}
delete env['ELECTRON_RUN_AS_NODE'];
const processCallbacks: ((child: ChildProcess) => Promise<void>)[] = [];