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

Commit 7e77604

Browse files
achingbrainalanshaw
and
alanshaw
committed
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 5c704e7 commit 7e77604

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
@@ -51,7 +51,7 @@ exports.parseKey = (request, reply) => {
5151
}
5252

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

0 commit comments

Comments
 (0)