Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
fix: disable just the rule we're breaking
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
  • Loading branch information
Alan Shaw committed Dec 12, 2018
1 parent 45b344c commit bed2687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/clean-cid.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ module.exports = function (cid) {
if (typeof cid !== 'string') {
throw new Error('unexpected cid type: ' + typeof cid)
}
new CID(cid.split('/')[0]) // eslint-disable-line
new CID(cid.split('/')[0]) // eslint-disable-line no-new
return cid
}

0 comments on commit bed2687

Please sign in to comment.