mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-15 16:24:40 +00:00
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…
x
Reference in New Issue
Block a user