Skip to content

Commit 3c7774e

Browse files
committed
Fix eslint line length warning
1 parent f0e4caf commit 3c7774e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vapid-helper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ function validateSubject(subject) {
8080
if (!subjectParseResult.hostname) {
8181
throw new Error('Vapid subject is not a url or mailto url. ' + subject);
8282
} else if (subjectParseResult.hostname === 'localhost' && subjectParseResult.protocol === 'https:') {
83-
console.warn('VAPID subject points to a localhost web URI, which is unsupported by Apple\'s push notification server and will result in a BadJwtToken error when sending notifications.');
83+
console.warn('VAPID subject points to a localhost web URI, which is unsupported by Apple\'s push notification '
84+
+ 'server and will result in a BadJwtToken error when sending notifications.');
8485
}
8586
}
8687
}

0 commit comments

Comments
 (0)