Skip to content

Commit

Permalink
Merge pull request #5 from gameclosure/fix-version-tostring
Browse files Browse the repository at this point in the history
use pretty versions for tealeaf-build-tools
  • Loading branch information
Martin Hunt committed Feb 8, 2013
2 parents d9a81d2 + 8aaae48 commit c8484b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dependencyCheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var BUILD_TOOLS_SRC = common.paths.root('lib/tealeaf-build-tools-{version}.jar')
var addonManager = require('./AddonManager');

function checkTealeafBuildTools (version, cb) {
logger.log("checking for tealeaf-build-tools", version);
logger.log("checking for tealeaf-build-tools", version.toString());

var f = ff(function () {
fs.exists(getBuildToolsPath(version), f.slotPlain());
Expand All @@ -63,10 +63,10 @@ function checkTealeafBuildToolsLink (version, cb) {
}, function (link) {
var fileVersion = link.match(/tealeaf-build-tools-(.*?)\.jar/);
if (!fileVersion || !version.eq(fileVersion[1])) {
logger.log("tealeaf-build-tools", version, "does not exist");
logger.log("tealeaf-build-tools", version.toString(), "does not exist");
next();
} else {
logger.log("tealeaf-build-tools", version, "present");
logger.log("tealeaf-build-tools", version.toString(), "present");
f.done();
}
});
Expand Down

0 comments on commit c8484b1

Please sign in to comment.