Skip to content
This repository was archived by the owner on Sep 10, 2022. It is now read-only.

Commit 1291030

Browse files
author
Matt Gaunt
committed
Switching to promise for sw-precache.
1 parent 4d7db12 commit 1291030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulp-tasks/service-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ gulp.task('service-worker', function(cb) {
5353
stripPrefix: GLOBAL.config.dest,
5454
navigateFallback: '/app-shell',
5555
cacheId: packageName
56-
}, cb);
56+
}).then(cb);
5757
});

0 commit comments

Comments
 (0)