fix opening urls as files

This commit is contained in:
Joao Moreno
2018-01-10 16:38:12 +01:00
parent 1f064796b8
commit 57e5c7147b

View File

@@ -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