aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.