mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
fix opening urls as files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user