1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Small style changes

This commit is contained in:
Ruben Bridgewater
2015-10-04 21:44:52 +02:00
parent 2fc54ece57
commit 7922d4eb85
28 changed files with 386 additions and 390 deletions

View File

@@ -40,7 +40,7 @@ function parseInt10(s) {
// green if greater than 0, red otherwise
function humanize_diff(num, unit) {
unit = unit || "";
unit = unit || '';
if (num > 0) {
return ('+' + num + unit).green;
}