1
0
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:
Matt Ranney
2011-06-28 22:48:30 -07:00
parent 4b988bdb60
commit 707c9ab3df
4 changed files with 32 additions and 6 deletions

View File

@@ -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);
}