提交 dd92ff0b 编写于 作者: S Sandeep Somavarapu

#59112 Return file URI

上级 756a4e59
......@@ -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));
});
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册