diff options
author | Remco Bloemen <remco@wicked.ventures> | 2018-11-09 01:31:22 +0800 |
---|---|---|
committer | Remco Bloemen <remco@wicked.ventures> | 2018-11-09 01:31:22 +0800 |
commit | a5665a68756c905637c551fc48c9b7011a55c237 (patch) | |
tree | e91dc740c0d25f675371ea29bc4ac32f645fbffe | |
parent | e40a4addc9998d637896d6f7145bef8f77a512ca (diff) | |
download | dexon-sol-tools-a5665a68756c905637c551fc48c9b7011a55c237.tar.gz dexon-sol-tools-a5665a68756c905637c551fc48c9b7011a55c237.tar.zst dexon-sol-tools-a5665a68756c905637c551fc48c9b7011a55c237.zip |
Fix isNode
-rw-r--r-- | packages/utils/src/configured_bignumber.ts | 2 |
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. |