Skip to content

Commit

Permalink
Fix ending line in files
Browse files Browse the repository at this point in the history
  • Loading branch information
geoip2 committed Aug 7, 2022
1 parent 2d044f3 commit 29ed890
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ module.exports = {
"always"
]
}
};
};
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Chandra Gupta <i@chandragupta.me>
Chandra Gupta <i@chandragupta.me>
2 changes: 1 addition & 1 deletion lib/fsWatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ function stopWatching(name) {
}

module.exports.makeFsWatchFilter = makeFsWatchFilter;
module.exports.stopWatching = stopWatching;
module.exports.stopWatching = stopWatching;
2 changes: 1 addition & 1 deletion lib/geoip2.js
Original file line number Diff line number Diff line change
Expand Up @@ -534,4 +534,4 @@ preload();
preload6();

//lookup4 = gen_lookup('geoip2-country.dat', 4);
//lookup6 = gen_lookup('geoip2-country6.dat', 16);
//lookup6 = gen_lookup('geoip2-country6.dat', 16);
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ utils.ntoa6 = function(n) {
a = a.replace(/:$/, ']').replace(/:0+/g, ':').replace(/::+/, '::');

return a;
};
};
2 changes: 1 addition & 1 deletion scripts/updatedb.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,4 +657,4 @@ async.eachSeries(databases, function (database, nextDatabase) {
else rimraf(tmpPath);
process.exit(0);
}
});
});
2 changes: 1 addition & 1 deletion test/geo-lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ f.forEach(function(ip) {
*/

console.log("Found %d (%d/%d) ips in %dms (%s ip/s) (%sμs/ip)", n, f.length, nf.length, te-ts, (n*1000 / (te-ts)).toFixed(3), ((te-ts) * 1000 / n).toFixed(0));
console.log("Took %d ms to startup", t2 - t1);
console.log("Took %d ms to startup", t2 - t1);
2 changes: 1 addition & 1 deletion test/memory-usage.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// eslint-disable-next-line no-unused-vars
var geoip = require('../lib/geoip2');
console.log(process.memoryUsage());
console.log(process.memoryUsage());
2 changes: 1 addition & 1 deletion test/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ module.exports = {
test.done();
});
}
};
};

0 comments on commit 29ed890

Please sign in to comment.