1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

Add simicolons and remove trailing whitespace

This commit is contained in:
Ruben Bridgewater
2015-09-01 21:39:44 +02:00
parent 06c5f1922b
commit 9acbd6c860
17 changed files with 55 additions and 61 deletions

View File

@@ -16,7 +16,7 @@ var config = {
opts = opts || {};
if (ip.match(/\.sock/)) {
args.push(ip)
args.push(ip);
} else {
args.push(config.PORT);
args.push(config.HOST[ip]);

View File

@@ -58,7 +58,7 @@ module.exports = {
}
waitForRedis(false, function () {
return done(error);
})
});
});
rp.kill("SIGTERM");
}

View File

@@ -5,8 +5,8 @@
var redis = require("../../");
var HOST = process.argv[2] || '127.0.0.1';
var PORT = process.argv[3]
var args = PORT ? [PORT, HOST] : [HOST]
var PORT = process.argv[3];
var args = PORT ? [PORT, HOST] : [HOST];
var c = redis.createClient.apply(redis, args);
c.unref();