mirror of https://github.com/embarklabs/embark.git
add test too
This commit is contained in:
parent
3991880b44
commit
55bb028a13
|
@ -183,10 +183,11 @@ Config.prototype.loadBlockchainConfigFile = function() {
|
||||||
if (!configFilePath) {
|
if (!configFilePath) {
|
||||||
this.blockchainConfig.default = true;
|
this.blockchainConfig.default = true;
|
||||||
}
|
}
|
||||||
if(!this.blockchainConfig.account && !this.blockchainConfig.isDev && this.env !== 'development') {
|
if (!this.blockchainConfig.account && !this.blockchainConfig.isDev &&
|
||||||
|
this.env !== 'development' && this.env !== 'test') {
|
||||||
this.logger.warn(
|
this.logger.warn(
|
||||||
__('Account settings are needed for this chain.' +
|
__('Account settings are needed for this chain.' +
|
||||||
' Please put a valid address and possibly a password in your blockchain config or use a dev chain.')
|
' Please put a valid address and possibly a password in your blockchain config or use a dev chain.')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue