Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Nov 23, 2024
1 parent 218a988 commit 244f20d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/util/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,6 @@ function assertCacheStore (store, name = 'CacheStore') {
throw new TypeError(`${name} needs to have a \`${fn}()\` function`)
}
}

if (typeof store.isFull !== 'undefined' && typeof store.isFull !== 'boolean') {
throw new TypeError(`${name} needs a isFull getter with type boolean or undefined, current type: ${typeof store.isFull}`)
}
}
/**
* @param {unknown} methods
Expand Down

0 comments on commit 244f20d

Please sign in to comment.