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

Commit

Permalink
chore: appease linter
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 Nov 29, 2018
1 parent b02459b commit 802a34d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/http-api/inject/bitswap.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = (http) => {
if (res.statusCode !== 200) {
return cb(new Error(`unexpected status ${res.statusCode}`))
}
const wanted = !!res.result.Keys.find(k => k['/'] === wantedCid)
const wanted = Boolean(res.result.Keys.find(k => k['/'] === wantedCid))
cb(null, wanted)
})
}
Expand Down

0 comments on commit 802a34d

Please sign in to comment.