From de8eebbd7cdfb13ceacf309f9f2a8d2162f054c8 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 14 Aug 2020 11:28:11 -0400 Subject: [PATCH] fix: upgrade scripts not run properly if schemaDate is present Only affected VERY old installs that don't use schemaLog --- src/upgrade.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/upgrade.js b/src/upgrade.js index 2dac78414be2..19ccc7d4e259 100644 --- a/src/upgrade.js +++ b/src/upgrade.js @@ -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