You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Add static list of commands to those downloaded from redis.io.
This commit is contained in:
@@ -18,7 +18,7 @@ function write_file(commands, path) {
|
||||
return key.toLowerCase();
|
||||
});
|
||||
|
||||
file_contents += "exports.Commands = " + JSON.stringify(out_commands, null, " ") + ";\n";
|
||||
file_contents += "module.exports = " + JSON.stringify(out_commands, null, " ") + ";\n";
|
||||
|
||||
fs.writeFile(path, file_contents);
|
||||
}
|
||||
|
Reference in New Issue
Block a user