node-redlock icon indicating copy to clipboard operation
node-redlock copied to clipboard

Superfluous type check

Open jamesblacklock opened this issue 3 years ago • 1 comments

https://github.com/mike-marcacci/node-redlock/blob/b720d5fdbe5bb54316031aec8b2c15128dbfa8a9/src/index.ts#L731

instanceof Error has already been checked above. This check is superfluous.

jamesblacklock avatar Dec 15 '22 15:12 jamesblacklock

@mike-marcacci Hello. I'm using this library well. I am very interested in contributing to the open source. If this project allows contribute, Can I fix it?

jokj624 avatar Aug 05 '24 16:08 jokj624