From 981752059cfddc0aac798850e30eaad5094adceb Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 9 Mar 2018 15:48:12 +0100 Subject: Add double negation before using shouldUseInProcessGanache --- packages/dev-utils/src/web3_factory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') 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({ -- cgit v1.2.3