From 5e6341cda895bd540ed087d7fe380f85be7ea30f Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Fri, 19 Aug 2016 10:06:48 +0200 Subject: [PATCH] remove argv file handling --- src/vs/code/electron-main/env.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/vs/code/electron-main/env.ts b/src/vs/code/electron-main/env.ts index 00e0abd8946..4e518328c61 100644 --- a/src/vs/code/electron-main/env.ts +++ b/src/vs/code/electron-main/env.ts @@ -121,12 +121,6 @@ export class EnvService implements IEnvService { } } - // Finally, prepend any extra arguments from the 'argv' file - if (fs.existsSync(path.join(this._appRoot, 'argv'))) { - const extraargs: string[] = JSON.parse(fs.readFileSync(path.join(this._appRoot, 'argv'), 'utf8')); - args = [...extraargs, ...args]; - } - const argv = parseArgs(args); const paths = parsePathArguments(this._currentWorkingDirectory, argv._, argv.goto);