aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-27 03:54:15 +0800
committerFabio Berger <me@fabioberger.com>2018-08-27 17:14:43 +0800
commite6cb2e0fcd33858d7775871807eb834f78cdc53d (patch)
tree25bc6d77a661df42ca94a80061802af7d58d0b7a
parent38abeaed9cd2bfaad82db367a54fe35337d846ff (diff)
downloaddexon-sol-tools-e6cb2e0fcd33858d7775871807eb834f78cdc53d.tar
dexon-sol-tools-e6cb2e0fcd33858d7775871807eb834f78cdc53d.tar.gz
dexon-sol-tools-e6cb2e0fcd33858d7775871807eb834f78cdc53d.tar.bz2
dexon-sol-tools-e6cb2e0fcd33858d7775871807eb834f78cdc53d.tar.lz
dexon-sol-tools-e6cb2e0fcd33858d7775871807eb834f78cdc53d.tar.xz
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.ts4
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(