From 2eb3f09e177d6c1fff05144ca50fd5daab09ffb6 Mon Sep 17 00:00:00 2001 From: Nick Martin Date: Fri, 24 Feb 2012 16:03:27 -0800 Subject: [PATCH] Missing semicolons. --- app/lib/files.js | 2 +- app/lib/updater.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/files.js b/app/lib/files.js index 7713c205de..ed7ba3792e 100644 --- a/app/lib/files.js +++ b/app/lib/files.js @@ -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. diff --git a/app/lib/updater.js b/app/lib/updater.js index 6598f41da7..89425fde68 100644 --- a/app/lib/updater.js +++ b/app/lib/updater.js @@ -54,4 +54,4 @@ exports.needs_upgrade = function (version) { if (!version) return false; return semver.lt(exports.CURRENT_VERSION, version); -} +};