diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2018-06-01 21:03:19 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-06-01 14:03:19 +0200 |
commit | bfa12239e84ebe310d74ef0e773d90a477b3cf8f (patch) | |
tree | e6775b25d7420723dd8ea3cac1fd20a3683c5f45 /app | |
parent | 15ce60f610ed46fd77b58857c5a318c30080648e (diff) |
Update ESLint for Code Climate (#7696)
* Update babel-eslint to version 8.2.3 * Update eslint to version 4.19.1 * Update eslint-plugin-promise to version 3.8.0 * Update eslint-plugin-react to version 7.8.2 * Upgrade eslint-plugin-jsx-a11y to version 6.0.3 * yarn test:lint --fix
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/service_worker/entry.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/service_worker/entry.js b/app/javascript/mastodon/service_worker/entry.js index c1854c1cd..2435da117 100644 --- a/app/javascript/mastodon/service_worker/entry.js +++ b/app/javascript/mastodon/service_worker/entry.js @@ -33,7 +33,7 @@ self.addEventListener('fetch', function(event) { event.respondWith(asyncResponse.then( response => asyncCache.then(cache => cache.put('/', response.clone())) - .then(() => response), + .then(() => response), () => asyncCache.then(cache => cache.match('/')))); } else if (url.pathname === '/auth/sign_out') { const asyncResponse = fetch(event.request); |