summaryrefslogtreecommitdiff
path: root/ext/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js')
-rw-r--r--ext/js/general/cache-map.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/js/general/cache-map.js b/ext/js/general/cache-map.js
index a995b8c7..8650d8e6 100644
--- a/ext/js/general/cache-map.js
+++ b/ext/js/general/cache-map.js
@@ -29,7 +29,6 @@ export class CacheMap {
*/
constructor(maxSize) {
if (!(
- typeof maxSize === 'number' &&
Number.isFinite(maxSize) &&
maxSize >= 0 &&
Math.floor(maxSize) === maxSize