mirror of https://github.com/embarklabs/embark.git
fix typo; default environment to development
This commit is contained in:
parent
6fe3064edd
commit
1eee68e901
|
@ -27,7 +27,7 @@ class CodeGenerator {
|
||||||
this.storageConfig = options.storageConfig || {};
|
this.storageConfig = options.storageConfig || {};
|
||||||
this.communicationConfig = options.communicationConfig || {};
|
this.communicationConfig = options.communicationConfig || {};
|
||||||
this.namesystemConfig = options.namesystemConfig || {};
|
this.namesystemConfig = options.namesystemConfig || {};
|
||||||
this.env = options.env || '';
|
this.env = options.env || 'development';
|
||||||
// TODO: this should also be removed and use events instead
|
// TODO: this should also be removed and use events instead
|
||||||
this.contractsManager = options.contractsManager;
|
this.contractsManager = options.contractsManager;
|
||||||
this.plugins = options.plugins;
|
this.plugins = options.plugins;
|
||||||
|
|
|
@ -27,7 +27,7 @@ __reduce(<%- connectionList %>,function(prev, value, next) {
|
||||||
__getAccounts(function(err, accounts) {
|
__getAccounts(function(err, accounts) {
|
||||||
web3.eth.defaultAccount = accounts[0];
|
web3.eth.defaultAccount = accounts[0];
|
||||||
<% if (warnAboutMetamask) { %>
|
<% if (warnAboutMetamask) { %>
|
||||||
if (web3.eth.currentProvider.isMetamask === true) {
|
if (web3.eth.currentProvider.isMetaMask) {
|
||||||
console.log("Note: Embark has detected you are in the development environment and using Metamask, please make it's connecting to your local node");
|
console.log("Note: Embark has detected you are in the development environment and using Metamask, please make it's connecting to your local node");
|
||||||
}
|
}
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Reference in New Issue