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.
1 parent 9df03c6 commit 63d60f1Copy full SHA for 63d60f1
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