fix(generator): fix warnAboutMetamask being undefined

This commit is contained in:
Jonathan Rainville 2019-01-25 14:27:53 -05:00 committed by Iuri Matias
parent a3da5c0b5b
commit 0d8f23303a
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class CodeGenerator {
autoEnable: this.contractsConfig.dappAutoEnable, autoEnable: this.contractsConfig.dappAutoEnable,
connectionList: connectionList, connectionList: connectionList,
done: 'done(err);', done: 'done(err);',
warnAboutMetamask: isDev, warnAboutMetamask: isDev || false,
blockchainClient: this.blockchainConfig.ethereumClientName blockchainClient: this.blockchainConfig.ethereumClientName
}); });
} }