added missing return

This commit is contained in:
barisusakli
2017-04-13 17:02:13 -04:00
parent 6d1702c600
commit f4b8cb7217

View File

@@ -164,6 +164,7 @@ Upgrade.process = function (files, skipCount, callback) {
if (scriptExport.timestamp <= schemaDate && semver.lt(version, '1.5.0')) {
process.stdout.write('skipped\n'.grey);
db.sortedSetAdd('schemaLog', Date.now(), path.basename(file, '.js'), next);
return;
}
// Do the upgrade...