Missing semicolons.

This commit is contained in:
Nick Martin
2012-02-24 16:03:27 -08:00
parent 50efb00994
commit 2eb3f09e17
2 changed files with 2 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ var files = module.exports = {
if (path.existsSync(filepath)) {
var data = fs.readFileSync(filepath, 'utf8');
var lines = data.split(/\n/);
if (_.any(lines, function (x) { return x === entry })) {
if (_.any(lines, function (x) { return x === entry; })) {
// already there do nothing
} else {
// rewrite file w/ new entry.

View File

@@ -54,4 +54,4 @@ exports.needs_upgrade = function (version) {
if (!version) return false;
return semver.lt(exports.CURRENT_VERSION, version);
}
};