Skip to content

Commit 1cf3a14

Browse files
authored
Merge pull request #82223 from microsoft/joao/release/1.39/fix-82212
Fixes #82212
2 parents 37cb368 + 63d60f1 commit 1cf3a14

File tree

1 file changed

+1
-1
lines changed
  • src/vs/code/electron-main

1 file changed

+1
-1
lines changed

src/vs/code/electron-main/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ export class CodeApplication extends Disposable {
593593
// Catch file URLs
594594
if (uri.authority === Schemas.file && !!uri.path) {
595595
const cli = assign(Object.create(null), environmentService.args);
596-
const urisToOpen = [{ fileUri: uri }];
596+
const urisToOpen = [{ fileUri: URI.file(uri.fsPath) }];
597597

598598
windowsMainService.open({ context: OpenContext.API, cli, urisToOpen, gotoLineMode: true });
599599

0 commit comments

Comments
 (0)