This commit is contained in:
Jan Prochazka
2020-04-13 21:20:43 +02:00
parent 9783d9840a
commit c2f65ff2a9

View File

@@ -54,7 +54,7 @@ async function getCore(loader, args) {
const fromCache = cacheGet(key); const fromCache = cacheGet(key);
if (fromCache) return fromCache; if (fromCache) return fromCache;
const res = getCachedPromise(key, doLoad); const res = await getCachedPromise(key, doLoad);
cacheSet(key, res, reloadTrigger); cacheSet(key, res, reloadTrigger);
return res; return res;