Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andrx committed Jul 9, 2020
1 parent 86494b4 commit 0f845a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/lib/cleanupDeploymentBucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
const objectsToKeepCount = 4;

const orderedObjects = _.orderBy(
files,
_.filter(files, (f) => f.contentType != 'text/plain'),
(file) => {
const timestamp = file.name.match(/(serverless)\/(.+)\/(.+)\/(\d+)-(.+)\/(.+\.zip)/)[4];
return timestamp;
Expand Down

0 comments on commit 0f845a2

Please sign in to comment.