Skip to content

Commit

Permalink
fix mis typed variable names in badLocalDependency()
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Hausman committed Nov 22, 2016
1 parent 31da115 commit 7129304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions errors/warn.js
Expand Up @@ -45,11 +45,11 @@ module.exports = {

badLocalDependency: function(pathTo_localSails, requiredVersion) {
log.warn(
'The local Sails dependency installed at `' + pathTo.localSails + '` ' +
'The local Sails dependency installed at `' + pathTo_localSails + '` ' +
'has a corrupted, missing, or un-parsable package.json file.'
);
log.warn('You may consider running:');
log.warn('rm -rf ' + pathTo_localSails + ' && npm install sails@' + app.dependencies.sails);
log.warn('rm -rf ' + pathTo_localSails + ' && npm install sails@' + requiredVersion);
log.warn();
}
};

0 comments on commit 7129304

Please sign in to comment.