improve metamask warning

This commit is contained in:
Iuri Matias 2018-06-28 09:50:09 -04:00
parent 8cb372f9ef
commit 892285d415
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 %>