Skip to content

Commit

Permalink
Merge pull request #3902 from Hiro-Nakamura/0.12
Browse files Browse the repository at this point in the history
[fixes #3901] fix mis typed variable names in badLocalDependency()
  • Loading branch information
mikermcneil committed Nov 22, 2016
2 parents 31da115 + 7129304 commit 5232d6a
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 5232d6a

Please sign in to comment.