Skip to content

Commit abc1d92

Browse files
committed
Add deprecation comment
1 parent 51ef0cc commit abc1d92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,7 @@ function close(client) {
107107
return client.close();
108108
}
109109

110+
// The quit is deprecated for node redis >= 5.0.0
111+
// This call should be removed after we stop supporting redis < 5.0.0
110112
return client.quit();
111113
}

0 commit comments

Comments
 (0)