From ed557c628102e278e8173f3df4506caf93c14624 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Wed, 9 May 2018 08:26:51 -0400 Subject: [PATCH] change warning to tell about --reset --- lib/cmds/blockchain/blockchain.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/cmds/blockchain/blockchain.js b/lib/cmds/blockchain/blockchain.js index 0a1e43cbd..8c50c7538 100644 --- a/lib/cmds/blockchain/blockchain.js +++ b/lib/cmds/blockchain/blockchain.js @@ -57,8 +57,9 @@ Blockchain.prototype.runCommand = function(cmd, options) { console.log(("running: " + cmd.underline).green); return shelljs.exec(cmd, options, (err, stdout, _stderr) => { if (err && this.env === 'development' && stdout.indexOf('Failed to unlock developer account') > 0) { - console.warn('\nDevelopment blockchain changed to use the --dev option.'.yellow); - console.warn('You will need to change your data directory in blockchain.json (datadir)'.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('Otherwise, you can change your data directory in blockchain.json (datadir)'.yellow); } }); };