Skip to content

Commit

Permalink
add more info to error message
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Dec 13, 2014
1 parent bc8dcbb commit 52d71c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gameinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ GameInfo.prototype.parseGameInfo = function(contents, packagePath, rootPath) {
var packageLocation = packageLocations[ii];
if (packageLocation.packagePath == relativePackagePath) {
if (semver.lt(hftInfo.apiVersion, packageLocation.minVersion)) {
console.error("error: package.json apiVersion must be " + packageLocation.minVersion + " or greater to use path " + relativePackagePath);
console.error("error: package.json apiVersion must be " + packageLocation.minVersion + " or greater to use path " + relativePackagePath + " in " + rootPath);
return;
}
validPackagePath = true;
Expand Down

0 comments on commit 52d71c5

Please sign in to comment.