We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37cb368 + 63d60f1 commit 1cf3a14Copy full SHA for 1cf3a14
src/vs/code/electron-main/app.ts
@@ -593,7 +593,7 @@ export class CodeApplication extends Disposable {
593
// Catch file URLs
594
if (uri.authority === Schemas.file && !!uri.path) {
595
const cli = assign(Object.create(null), environmentService.args);
596
- const urisToOpen = [{ fileUri: uri }];
+ const urisToOpen = [{ fileUri: URI.file(uri.fsPath) }];
597
598
windowsMainService.open({ context: OpenContext.API, cli, urisToOpen, gotoLineMode: true });
599
0 commit comments