From 6a099bb7ad52c7d967b3174f40d1d9ac63d7120d Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Mon, 14 Oct 2024 22:46:16 +0200 Subject: [PATCH] fix --- lib/interceptor/cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/interceptor/cache.js b/lib/interceptor/cache.js index 666a87ef3e5..b03734aa886 100644 --- a/lib/interceptor/cache.js +++ b/lib/interceptor/cache.js @@ -19,7 +19,7 @@ module.exports = (opts = {}) => { } = opts if (typeof opts !== 'object' || opts === null) { - throw new TypeError(`expected type of opts to be an Object, got ${store === null ? 'null' : typeof store}`) + throw new TypeError(`expected type of opts to be an Object, got ${opts === null ? 'null' : typeof opts}`) } assertCacheStore(store, 'opts.store')