8000 Update redis.js · LikeABossProgrammer/log4js-node@3382b54 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3382b54

Browse files
authored
Update redis.js
1 parent c8426ad commit 3382b54

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/appenders/redis.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ function redisAppender(host, port, pass, channel, layout) {
2323
}
2424

2525
function configure(config) {
26-
let layout, host, port, pass, channel;
26+
let layout;
27+
let host;
28+
let port;
29+
let pass;
30+
let channel;
2731
if (config.layout) {
2832
layout = layouts.layout(config.layout.type, config.layout);
2933
}

0 commit comments

Comments
 (0)
0