Skip to content

Commit

Permalink
fix: replace duplicated file
Browse files Browse the repository at this point in the history
  • Loading branch information
kobanyan authored and k1LoW committed Oct 26, 2021
1 parent 34fea8c commit c2206d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ class ServerlessS3Sync {
}
// to avoid Unexpected Parameter error
delete params['OnlyForEnv'];
filesToSync = filesToSync.filter(e => e.name !== match);
filesToSync.push({name: match, params});
});
});
Expand Down

0 comments on commit c2206d6

Please sign in to comment.