aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemco Bloemen <remco@wicked.ventures>2018-11-09 01:31:22 +0800
committerRemco Bloemen <remco@wicked.ventures>2018-11-09 01:31:22 +0800
commita5665a68756c905637c551fc48c9b7011a55c237 (patch)
treee91dc740c0d25f675371ea29bc4ac32f645fbffe
parente40a4addc9998d637896d6f7145bef8f77a512ca (diff)
downloaddexon-sol-tools-a5665a68756c905637c551fc48c9b7011a55c237.tar
dexon-sol-tools-a5665a68756c905637c551fc48c9b7011a55c237.tar.gz
dexon-sol-tools-a5665a68756c905637c551fc48c9b7011a55c237.tar.bz2
dexon-sol-tools-a5665a68756c905637c551fc48c9b7011a55c237.tar.lz
dexon-sol-tools-a5665a68756c905637c551fc48c9b7011a55c237.tar.xz
dexon-sol-tools-a5665a68756c905637c551fc48c9b7011a55c237.tar.zst
dexon-sol-tools-a5665a68756c905637c551fc48c9b7011a55c237.zip
Fix isNode
-rw-r--r--packages/utils/src/configured_bignumber.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/utils/src/configured_bignumber.ts b/packages/utils/src/configured_bignumber.ts
index 56e925c41..8e1491796 100644
--- a/packages/utils/src/configured_bignumber.ts
+++ b/packages/utils/src/configured_bignumber.ts
@@ -14,7 +14,7 @@ BigNumber.config({
// Set a debug print function for NodeJS
// Upstream issue: https://github.com/MikeMcl/bignumber.js/issues/188
import isNode = require('detect-node');
-if (!isNode) {
+if (isNode) {
// Dynamically load a NodeJS specific module.
// Typescript requires all imports to be global, so we need to use
// `const` here and disable the tslint warning.