Add double negation before using shouldUseInProcessGanache

This commit is contained in:
Leonid Logvinov
2018-03-09 15:48:12 +01:00
parent 6c87ebac01
commit 981752059c

View File

@@ -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({