From 0d8f23303a34ed1326f194b27488144b4510e560 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Fri, 25 Jan 2019 14:27:53 -0500 Subject: [PATCH] fix(generator): fix warnAboutMetamask being undefined --- src/lib/modules/code_generator/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/modules/code_generator/index.js b/src/lib/modules/code_generator/index.js index 59e744532..fa01fd6da 100644 --- a/src/lib/modules/code_generator/index.js +++ b/src/lib/modules/code_generator/index.js @@ -129,7 +129,7 @@ class CodeGenerator { autoEnable: this.contractsConfig.dappAutoEnable, connectionList: connectionList, done: 'done(err);', - warnAboutMetamask: isDev, + warnAboutMetamask: isDev || false, blockchainClient: this.blockchainConfig.ethereumClientName }); }