mirror of https://github.com/embarklabs/embark.git
minor refactor
This commit is contained in:
parent
7e1493c039
commit
130b37f6fd
|
@ -25,8 +25,7 @@ Config.prototype.loadConfigFiles = function(options) {
|
|||
interceptLogs = true;
|
||||
}
|
||||
|
||||
var embarkConfigExists = fs.existsSync(options.embarkConfig);
|
||||
if(!embarkConfigExists){
|
||||
if(!fs.existsSync(options.embarkConfig)){
|
||||
this.logger.error('Cannot find file ' + options.embarkConfig + '. Please ensure you are running this command inside the Dapp folder');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue