Skip to content

Commit

Permalink
fix opening urls as files
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Jan 10, 2018
1 parent 06c14bd commit 490ef76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/code/node/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 490ef76

Please sign in to comment.