From 0deafffc9eb5ae15bcdb5f5bfbe6892f14b3ce23 Mon Sep 17 00:00:00 2001 From: Dennis Bruner Date: Wed, 24 Jun 2020 02:17:52 +0200 Subject: [PATCH] Fix linting errors --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 960c530..008b890 100644 --- a/index.js +++ b/index.js @@ -64,7 +64,6 @@ const VueNativeNotification = { return new Error('No permission to show notification') } - const bindOnError = function (event) { 'use strict' defaultEvents.onerror(event) @@ -100,8 +99,9 @@ const VueNativeNotification = { return notification } catch (e) { - if (e.name !== 'TypeError') + if (e.name !== 'TypeError') { return e + } return navigator.serviceWorker.ready.then( function (reg) {