Fix build

This commit is contained in:
Pieter Vander Vennet 2022-06-02 03:02:35 +02:00
parent ea1e7e62ef
commit 3a2a8eed9e
2 changed files with 7 additions and 0 deletions

View file

@ -28,7 +28,9 @@ async function activate() {
title: "Some action"
}]
})*/
caches.keys().then(keys => {
// Remove all old caches
Promise.all(
keys.map(key => key !== version && caches.delete(key))
);