From 6c87ebac012953f214501e57f29318c03c174b3d Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 9 Mar 2018 15:46:34 +0100 Subject: Rename useInProcessGanache to shouldUseInProcessGanache --- packages/dev-utils/src/web3_factory.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/dev-utils') diff --git a/packages/dev-utils/src/web3_factory.ts b/packages/dev-utils/src/web3_factory.ts index 74deec7b1..285c253bc 100644 --- a/packages/dev-utils/src/web3_factory.ts +++ b/packages/dev-utils/src/web3_factory.ts @@ -23,7 +23,7 @@ import * as Web3 from 'web3'; export interface Web3Config { hasAddresses?: boolean; // default: true - useInProcessGanache?: boolean; // default: false + shouldUseInProcessGanache?: boolean; // default: false } export const web3Factory = { @@ -48,8 +48,8 @@ export const web3Factory = { fs.appendFileSync('ganache.log', `${arg}\n`); }, }; - const useInProcessGanache = config.useInProcessGanache; - if (useInProcessGanache) { + const shouldUseInProcessGanache = config.shouldUseInProcessGanache; + if (shouldUseInProcessGanache) { provider.addProvider( new GanacheSubprovider({ logger, -- cgit v1.2.3