Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 3b17df9

Browse files
achingbrainalanshaw
and
alanshaw
authored
fix: disable just the rule we're breaking
License: MIT Signed-off-by: Alan Shaw <[email protected]> Co-Authored-By: alanshaw <[email protected]>
1 parent 54b9880 commit 3b17df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/api/resources/files-regular.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ exports.parseKey = (request, reply) => {
5050
}
5151

5252
try {
53-
new CID(key) // eslint-disable-line
53+
new CID(key) // eslint-disable-line no-new
5454
} catch (err) {
5555
log.error(err)
5656
return reply({

0 commit comments

Comments
 (0)