Merge pull request #591 from embark-framework/improve_metamask_warning

improve metamask warning
This commit is contained in:
Jonathan Rainville 2018-06-29 08:15:03 -04:00 committed by GitHub
commit 9fcd2472b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ __reduce(<%- connectionList %>,function(prev, value, next) {
web3.eth.defaultAccount = accounts[0];
<% if (warnAboutMetamask) { %>
if (web3.eth.currentProvider.isMetaMask) {
console.log("Note: Embark has detected you are in the development environment and using Metamask, please make sure Metamask is connected to your local node");
console.log("%cNote: Embark has detected you are in the development environment and using Metamask, please make sure Metamask is connected to your local node", "font-size: 2em");
}
<% } %>
<%- done %>