rename method
This commit is contained in:
parent
fe4dd67979
commit
99b931d230
|
@ -73,7 +73,7 @@ Blockchain.prototype.run = function() {
|
|||
console.log("===============================================================================".magenta);
|
||||
console.log("===============================================================================".magenta);
|
||||
|
||||
this.warnAboutPath();
|
||||
this.checkPathLength();
|
||||
let address = '';
|
||||
async.waterfall([
|
||||
function checkInstallation(next) {
|
||||
|
@ -132,7 +132,7 @@ Blockchain.prototype.run = function() {
|
|||
});
|
||||
};
|
||||
|
||||
Blockchain.prototype.warnAboutPath = function() {
|
||||
Blockchain.prototype.checkPathLength = function() {
|
||||
let dappPath = fs.dappPath('');
|
||||
if (dappPath.split('/').length > 5) {
|
||||
console.log("===============================================================================".yellow);
|
||||
|
|
Loading…
Reference in New Issue