From f7e95df2b92bb67b254ed6acf68096f978b66201 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 8 Jul 2020 00:46:43 +0000 Subject: [PATCH] fix(core): update --- ts/tapbundle.classes.tap.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ts/tapbundle.classes.tap.ts b/ts/tapbundle.classes.tap.ts index bbf586f..8840b9a 100644 --- a/ts/tapbundle.classes.tap.ts +++ b/ts/tapbundle.classes.tap.ts @@ -144,7 +144,10 @@ export class Tap { } if (optionsArg && optionsArg.throwOnError && failReasons.length > 0) { - process.exit(1); + if (!smartenvInstance.isBrowser) process.exit(1); + } + if (smartenvInstance.isBrowser) { + globalThis.tapbundleDeferred.resolve(); } }