From 39bc001b1b53b643f7f1f0f78c34738ed2db3632 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Sun, 7 Oct 2018 11:07:08 -0500 Subject: [PATCH] fix(script-runner): oops I did it again --- migrations/migration-runner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/migration-runner.js b/migrations/migration-runner.js index 924cf193831..c61631e66f6 100644 --- a/migrations/migration-runner.js +++ b/migrations/migration-runner.js @@ -19,9 +19,9 @@ setUpServer(); // Replace this with your migration const processUsers = require('./users/takeThis.js'); processUsers() - .then( + .then(function () { process.exitCode = 0; - ) + }) .catch(function (err) { console.log(err); process.exitCode = 1;