From fdbda9e3d6564ec908733c7019305f6a3c363a9f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Sep 2017 15:27:35 +0200 Subject: Add tests for npm run scripts --- scripts/reset-password.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/reset-password.ts') diff --git a/scripts/reset-password.ts b/scripts/reset-password.ts index 5ab7d01e5..f0c06a7bf 100755 --- a/scripts/reset-password.ts +++ b/scripts/reset-password.ts @@ -18,7 +18,7 @@ db.init(true) .then(user => { if (!user) { console.error('User unknown.') - return + process.exit(-1) } const readline = require('readline') -- cgit v1.2.3