fix command (reset)

This commit is contained in:
Jonathan Rainville 2018-05-09 08:29:17 -04:00 committed by Iuri Matias
parent ed557c6281
commit 8278bcc496
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }
}); });