Cleanup open-url handling (#91234)

* cleanup open-url handling

* open url - allow to open a remote workpsace without opening a window first

* help build

* undo build change

* support files too
This commit is contained in:
Benjamin Pasero
2020-02-23 16:54:53 +01:00
committed by GitHub
parent 6f79071a2f
commit 646aaf67aa
4 changed files with 134 additions and 86 deletions
+1 -1
View File
@@ -19,8 +19,8 @@ export function validatePaths(args: ParsedArgs): ParsedArgs {
args._ = [];
}
// Normalize paths and watch out for goto line mode
if (!args['remote']) {
// Normalize paths and watch out for goto line mode
const paths = doValidatePaths(args._, args.goto);
args._ = paths;
}