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

Tiny speedup by removing command.toLowerCase()

This is not necessary as the command itself is only used from inside the code and as they are (now) all lower case it is safe to remove the toLowerCase
This commit is contained in:
Ruben Bridgewater
2015-09-03 23:42:00 +02:00
parent b63e980913
commit 4c6b84315e
34 changed files with 40 additions and 41 deletions

View File

@@ -33,7 +33,7 @@ describe("The 'script' method", function () {
});
it("loads script with client.script('load')", function (done) {
client.script("load", command, function(err, result) {
client.SCRIPT("load", command, function(err, result) {
assert.strictEqual(result, commandSha);
return done();
});