fix(core): update

This commit is contained in:
Philipp Kunz 2020-07-08 00:46:43 +00:00
parent a00536996c
commit f7e95df2b9

View File

@ -144,7 +144,10 @@ export class Tap {
} }
if (optionsArg && optionsArg.throwOnError && failReasons.length > 0) { if (optionsArg && optionsArg.throwOnError && failReasons.length > 0) {
process.exit(1); if (!smartenvInstance.isBrowser) process.exit(1);
}
if (smartenvInstance.isBrowser) {
globalThis.tapbundleDeferred.resolve();
} }
} }