Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Make codeclimate happiest code checker in the world

dominik-zeglenc0bdb88fa267
diff --git a/templates/serviceworker.js b/templates/serviceworker.js
index 17cde35536..2dfef188a7 100644
--- a/templates/serviceworker.js
+++ b/templates/serviceworker.js
@@ -9,7 +9,8 @@ self.addEventListener('install', (e) => {
return cache.addAll([
'/',
'/offline'
- ]).then(() => {
+ ])
+ .then(() => {
self.skipWaiting();
})
.catch(e => console.error(e));
@@ -27,7 +28,7 @@ self.addEventListener('fetch', (event) => {
.then(() => self.skipWaiting())
.catch(e => {
console.log(event.request.url);
- console.error(e)
+ console.error(e);
});
}
event.respondWith(