Skip to content

Commit

Permalink
feat: add console.warn when found key in S3
Browse files Browse the repository at this point in the history
  • Loading branch information
fibonacci998 committed Feb 5, 2024
1 parent 2acd4d7 commit 7eda6d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ export default class Utils {
return err;
});
if (foundS3Object && !overwrite) {
console.warn(`This S3 key is found in S3: ${fileName}`);
return;
}

Expand Down

0 comments on commit 7eda6d7

Please sign in to comment.