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

Commit 132578a

Browse files
author
Alan Shaw
committed
chore: appease linter
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 96d7d0f commit 132578a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/http-api/inject/bitswap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = (http) => {
3131
if (res.statusCode !== 200) {
3232
return cb(new Error(`unexpected status ${res.statusCode}`))
3333
}
34-
const wanted = !!res.result.Keys.find(k => k['/'] === wantedCid)
34+
const wanted = Boolean(res.result.Keys.find(k => k['/'] === wantedCid))
3535
cb(null, wanted)
3636
})
3737
}

0 commit comments

Comments
 (0)