Skip to content

Commit

Permalink
#59112 Return file URI
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Sep 27, 2018
1 parent 756a4e5 commit dd92ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/electron-browser/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,6 @@ export function registerCommands(): void {
const downloadService = accessor.get(IDownloadService);
const location = posix.join(tmpdir(), generateUuid());

return downloadService.download(resource, location).then(() => location);
return downloadService.download(resource, location).then(() => URI.file(location));
});
}

0 comments on commit dd92ff0

Please sign in to comment.