Skip to content

Commit 592e3eb

Browse files
author
Ruben Bridgewater
committed
Add .quit command to the output list to support node_redis
1 parent 7913d37 commit 592e3eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ var commands = require('./commands');
1010
* @var {string[]}
1111
* @public
1212
*/
13-
exports.list = Object.keys(commands);
13+
var commandsList = Object.keys(commands);
14+
commandsList.push('quit');
15+
exports.list = commandsList;
1416

1517
/**
1618
* Check if the command has the flag

0 commit comments

Comments
 (0)