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