You've already forked node-redis
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:
@@ -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]);
|
||||
|
@@ -58,7 +58,7 @@ module.exports = {
|
||||
}
|
||||
waitForRedis(false, function () {
|
||||
return done(error);
|
||||
})
|
||||
});
|
||||
});
|
||||
rp.kill("SIGTERM");
|
||||
}
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user