Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf authored Apr 25, 2024
1 parent 8a8013f commit fce2854
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*jshint esversion: 8 */

var cachePrefix = 'saas-multi-status';
var cacheVersion = 3;
var cacheVersion = 4;
var cacheName = cachePrefix + '-' + cacheVersion;
var filesToCache = [
'/multi-status/',
Expand All @@ -24,6 +24,7 @@ self.addEventListener('install', function(e) {
return cache.addAll(filesToCache).then(() => {
/* Cleanup deprecated cache versions */
caches.keys().then((keyList) => {
let k;
for(k of keyList) {
if(0 == k.indexOf(cachePrefix) && k !== cacheName) {
console.log(`Dropping cache version ${k}`);
Expand Down

0 comments on commit fce2854

Please sign in to comment.