mirror of https://github.com/embarklabs/embark.git
fix command (reset)
This commit is contained in:
parent
ed557c6281
commit
8278bcc496
|
@ -58,7 +58,7 @@ Blockchain.prototype.runCommand = function(cmd, options) {
|
||||||
return shelljs.exec(cmd, options, (err, stdout, _stderr) => {
|
return shelljs.exec(cmd, options, (err, stdout, _stderr) => {
|
||||||
if (err && this.env === 'development' && stdout.indexOf('Failed to unlock developer account') > 0) {
|
if (err && this.env === 'development' && stdout.indexOf('Failed to unlock developer account') > 0) {
|
||||||
console.warn('\nDevelopment blockchain has changed to use the --dev option.'.yellow);
|
console.warn('\nDevelopment blockchain has changed to use the --dev option.'.yellow);
|
||||||
console.warn('You can reset your workspace to fix the problem with'.yellow + ' embark --reset'.cyan);
|
console.warn('You can reset your workspace to fix the problem with'.yellow + ' embark reset'.cyan);
|
||||||
console.warn('Otherwise, you can change your data directory in blockchain.json (datadir)'.yellow);
|
console.warn('Otherwise, you can change your data directory in blockchain.json (datadir)'.yellow);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue