This commit is contained in:
Joao Moreno
2019-10-10 10:40:50 +02:00
parent c0aee71269
commit 7ab14b67e6

View File

@@ -592,7 +592,7 @@ export class CodeApplication extends Disposable {
// Catch file URLs
if (uri.authority === Schemas.file && !!uri.path) {
const cli = assign(Object.create(null), environmentService.args);
const urisToOpen = [{ fileUri: uri }];
const urisToOpen = [{ fileUri: URI.file(uri.fsPath) }];
windowsMainService.open({ context: OpenContext.API, cli, urisToOpen, gotoLineMode: true });