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

Commit ddf3392

Browse files
author
Alan Shaw
committed
Merge branch 'test/cid-version-agnostic' of github.com:ipfs/js-ipfs into test/cid-version-agnostic
2 parents 34fd372 + 3b17df9 commit ddf3392

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)