Skip to content

Commit

Permalink
fix: upgrade scripts not run properly if schemaDate is present
Browse files Browse the repository at this point in the history
Only affected VERY old installs that don't use schemaLog
  • Loading branch information
julianlam committed Aug 14, 2020
1 parent ea53c95 commit de8eebb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/upgrade.js
Expand Up @@ -141,7 +141,8 @@ Upgrade.process = async function (files, skipCount) {
process.stdout.write(' skipped\n'.grey);

await db.sortedSetAdd('schemaLog', Date.now(), path.basename(file, '.js'));
return;
// eslint-disable-next-line no-continue
continue;
}

// Promisify method if necessary
Expand Down

0 comments on commit de8eebb

Please sign in to comment.