From 7820fdc2f531be90e7bcbf508aaaf9a12e61bab4 Mon Sep 17 00:00:00 2001 From: Phil Booth Date: Fri, 19 Aug 2016 15:49:05 +0100 Subject: [PATCH] fix(scripts): add process.exit to populate script --- scripts/populate-session-tokens.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/populate-session-tokens.js b/scripts/populate-session-tokens.js index b8243be4..e54c2d47 100755 --- a/scripts/populate-session-tokens.js +++ b/scripts/populate-session-tokens.js @@ -122,6 +122,7 @@ if (count > 0) { } }).catch(function (err) { log.error(err.stack || err.message || err) + process.exit() }) } else { throw new Error('Invalid argument')