Skip to content

Commit

Permalink
Only consider .js files. Relates to #28
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleavely committed Mar 1, 2021
1 parent fe0a82e commit f97a4a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/migrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ exports.getPendingJobs = async () => {

const pendingMigrations = files
.filter((filename) => {
if (!filename.endsWith('.js')) return false
return !alreadyRanFiles.includes(filename)
})
.sort()
Expand Down

0 comments on commit f97a4a2

Please sign in to comment.