1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

Update commands list and remove unecessary code

Add use strict

Add changelog entry
This commit is contained in:
Ruben Bridgewater
2015-09-03 21:50:29 +02:00
parent feb1faa824
commit b06985a219
4 changed files with 45 additions and 30 deletions

View File

@@ -13,7 +13,7 @@ function write_file(commands, path) {
console.log("Writing " + Object.keys(commands).length + " commands to " + path);
file_contents = "// This file was generated by ./generate_commands.js on " + prettyCurrentTime() + "\n";
file_contents = "'use strict';\n\n// This file was generated by ./generate_commands.js on " + prettyCurrentTime() + "\n";
out_commands = Object.keys(commands).map(function (key) {
return key.toLowerCase();