Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Moreno <jomo@microsoft.com>2018-01-10 18:38:12 +0300
committerJoao Moreno <jomo@microsoft.com>2018-01-10 18:39:39 +0300
commit490ef761b76b3f3b3832eff7a588aac891e5fe80 (patch)
tree7210b16265082e29698dcfb7aaa5833dd3db0d27
parent06c14bdd97d09830a33fe6c946f8a4fddb0a4175 (diff)
fix opening urls as files1.19.2
-rw-r--r--src/vs/code/node/paths.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vs/code/node/paths.ts b/src/vs/code/node/paths.ts
index cafef96fd3a..d54353ff72e 100644
--- a/src/vs/code/node/paths.ts
+++ b/src/vs/code/node/paths.ts
@@ -18,6 +18,7 @@ export function validatePaths(args: ParsedArgs): ParsedArgs {
// Track URLs if they're going to be used
if (args['open-url']) {
args._urls = args._;
+ args._ = [];
}
// Realpath/normalize paths and watch out for goto line mode