diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-09 22:48:12 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 10:37:29 +0800 |
commit | 981752059cfddc0aac798850e30eaad5094adceb (patch) | |
tree | 9b23a50e2fae72f4d53f81343710e0038f1bf516 /packages/dev-utils | |
parent | 6c87ebac012953f214501e57f29318c03c174b3d (diff) | |
download | dexon-sol-tools-981752059cfddc0aac798850e30eaad5094adceb.tar.gz dexon-sol-tools-981752059cfddc0aac798850e30eaad5094adceb.tar.zst dexon-sol-tools-981752059cfddc0aac798850e30eaad5094adceb.zip |
Add double negation before using shouldUseInProcessGanache
Diffstat (limited to 'packages/dev-utils')
-rw-r--r-- | packages/dev-utils/src/web3_factory.ts | 2 |
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({ |