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

#59112 Return the downloaded location

上级 eb14a654
......@@ -562,8 +562,8 @@ export function registerCommands(): void {
CommandsRegistry.registerCommand('_workbench.downloadResource', function (accessor: ServicesAccessor, resource: URI) {
const downloadService = accessor.get(IDownloadService);
const to = posix.join(tmpdir(), generateUuid());
const location = posix.join(tmpdir(), generateUuid());
return downloadService.download(resource, to);
return downloadService.download(resource, location).then(() => location);
});
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册