mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Missing semicolons.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -54,4 +54,4 @@ exports.needs_upgrade = function (version) {
|
||||
if (!version) return false;
|
||||
|
||||
return semver.lt(exports.CURRENT_VERSION, version);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user