download: do overwrite
This commit is contained in:
parent
be9fd1ffc0
commit
50124ae2b8
1 changed files with 1 additions and 1 deletions
|
@ -1029,7 +1029,7 @@ const downloadFileHandler = (accessor: ServicesAccessor) => {
|
||||||
defaultUri
|
defaultUri
|
||||||
});
|
});
|
||||||
if (destination) {
|
if (destination) {
|
||||||
await textFileService.copy(s.resource, destination);
|
await textFileService.copy(s.resource, destination, true);
|
||||||
} else {
|
} else {
|
||||||
// User canceled a download. In case there were multiple files selected we should cancel the remainder of the prompts #86100
|
// User canceled a download. In case there were multiple files selected we should cancel the remainder of the prompts #86100
|
||||||
canceled = true;
|
canceled = true;
|
||||||
|
|
Loading…
Reference in a new issue