rename method

This commit is contained in:
Iuri Matias 2018-05-23 12:04:00 -04:00
parent fe4dd67979
commit 99b931d230
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ Blockchain.prototype.run = function() {
console.log("===============================================================================".magenta); console.log("===============================================================================".magenta);
console.log("===============================================================================".magenta); console.log("===============================================================================".magenta);
this.warnAboutPath(); this.checkPathLength();
let address = ''; let address = '';
async.waterfall([ async.waterfall([
function checkInstallation(next) { function checkInstallation(next) {
@ -132,7 +132,7 @@ Blockchain.prototype.run = function() {
}); });
}; };
Blockchain.prototype.warnAboutPath = function() { Blockchain.prototype.checkPathLength = function() {
let dappPath = fs.dappPath(''); let dappPath = fs.dappPath('');
if (dappPath.split('/').length > 5) { if (dappPath.split('/').length > 5) {
console.log("===============================================================================".yellow); console.log("===============================================================================".yellow);