Skip to content

Commit

Permalink
download: do overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed Jan 27, 2020
1 parent be9fd1f commit 50124ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/files/browser/fileActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 50124ae

Please sign in to comment.