aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-utils/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-09 22:48:12 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-12 10:37:29 +0800
commit981752059cfddc0aac798850e30eaad5094adceb (patch)
tree9b23a50e2fae72f4d53f81343710e0038f1bf516 /packages/dev-utils/src
parent6c87ebac012953f214501e57f29318c03c174b3d (diff)
downloaddexon-sol-tools-981752059cfddc0aac798850e30eaad5094adceb.tar
dexon-sol-tools-981752059cfddc0aac798850e30eaad5094adceb.tar.gz
dexon-sol-tools-981752059cfddc0aac798850e30eaad5094adceb.tar.bz2
dexon-sol-tools-981752059cfddc0aac798850e30eaad5094adceb.tar.lz
dexon-sol-tools-981752059cfddc0aac798850e30eaad5094adceb.tar.xz
dexon-sol-tools-981752059cfddc0aac798850e30eaad5094adceb.tar.zst
dexon-sol-tools-981752059cfddc0aac798850e30eaad5094adceb.zip
Add double negation before using shouldUseInProcessGanache
Diffstat (limited to 'packages/dev-utils/src')
-rw-r--r--packages/dev-utils/src/web3_factory.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/dev-utils/src/web3_factory.ts b/packages/dev-utils/src/web3_factory.ts
index 285c253bc..1bbdad81e 100644
--- a/packages/dev-utils/src/web3_factory.ts
+++ b/packages/dev-utils/src/web3_factory.ts
@@ -48,7 +48,7 @@ export const web3Factory = {
fs.appendFileSync('ganache.log', `${arg}\n`);
},
};
- const shouldUseInProcessGanache = config.shouldUseInProcessGanache;
+ const shouldUseInProcessGanache = !!config.shouldUseInProcessGanache;
if (shouldUseInProcessGanache) {
provider.addProvider(
new GanacheSubprovider({