We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bbe006 commit 6a90438Copy full SHA for 6a90438
1 file changed
src/vs/code/node/paths.ts
@@ -19,12 +19,14 @@ export function validatePaths(args: ParsedArgs): ParsedArgs {
19
args._ = [];
20
}
21
22
- // Normalize paths and watch out for goto line mode
23
- const paths = doValidatePaths(args._, args.goto);
+ if (!args['remote']) {
+ // Normalize paths and watch out for goto line mode
24
+ const paths = doValidatePaths(args._, args.goto);
25
+ args._ = paths;
26
+ }
27
28
// Update environment
- args._ = paths;
- args.diff = args.diff && paths.length === 2;
29
+ args.diff = args.diff && args._.length === 2;
30
31
return args;
32
@@ -135,4 +137,4 @@ function toPath(p: IPathWithLineAndColumn): string {
135
137
136
138
139
return segments.join(':');
-}
140
+}
0 commit comments