download: do overwrite

This commit is contained in:
isidor 2020-01-27 14:57:45 +01:00
parent be9fd1ffc0
commit 50124ae2b8

View file

@ -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;