diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-27 03:54:15 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-27 17:14:43 +0800 |
commit | e6cb2e0fcd33858d7775871807eb834f78cdc53d (patch) | |
tree | 25bc6d77a661df42ca94a80061802af7d58d0b7a | |
parent | 38abeaed9cd2bfaad82db367a54fe35337d846ff (diff) | |
download | dexon-sol-tools-e6cb2e0fcd33858d7775871807eb834f78cdc53d.tar.gz dexon-sol-tools-e6cb2e0fcd33858d7775871807eb834f78cdc53d.tar.zst dexon-sol-tools-e6cb2e0fcd33858d7775871807eb834f78cdc53d.zip |
Change exit code to failure
-rw-r--r-- | packages/monorepo-scripts/src/test_installation.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/test_installation.ts b/packages/monorepo-scripts/src/test_installation.ts index 87c4ad1d7..10709af25 100644 --- a/packages/monorepo-scripts/src/test_installation.ts +++ b/packages/monorepo-scripts/src/test_installation.ts @@ -85,11 +85,13 @@ function logIfDefined(x: any): void { logIfDefined(packageError.error.stdout); logIfDefined(packageError.error.stack); }); + process.exit(1); + } else { process.exit(0); } })().catch(err => { utils.log(`Unexpected error: ${err.message}`); - process.exit(0); + process.exit(1); }); async function testInstallPackageAsync( |