Skip to content

Commit 24f9883

Browse files
committed
Update clientCommandMessageReg to allow for command enclosed in backticks
1 parent 4b3ba1a commit 24f9883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const utils = require('./utils');
4-
const clientCommandMessageReg = /ERR unknown command '\s*client\s*'/;
4+
const clientCommandMessageReg = /ERR unknown command ['`]\s*client\s*['`]/;
55

66
module.exports = function(Queue) {
77
// IDEA, How to store metadata associated to a worker.

0 commit comments

Comments
 (0)