Skip to content

Commit

Permalink
Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
saul-jb committed Apr 10, 2024
1 parent 3ef4b68 commit 41354f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/helia-pin-manager/src/pin-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class PinManager {
*/
async getSpeed (cid: CID, options: { range?: number } & AbortOptions = {}): Promise<number> {
const pin = await this.pins.get(cid, options)
const range = options.range ?? 5000
const range = options.range ?? 5000

if (pin == null || range <= 0) {
return 0
Expand Down

0 comments on commit 41354f5

Please sign in to comment.