mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-14 14:14:05 +01:00
[Glitch] Enable ESLint Promise plugin defaults
Port 5e1c0c3d94
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
7452a95998
commit
6fdd596cc8
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
const checkNotificationPromise = () => {
|
const checkNotificationPromise = () => {
|
||||||
try {
|
try {
|
||||||
// eslint-disable-next-line promise/catch-or-return
|
// eslint-disable-next-line promise/catch-or-return, promise/valid-params
|
||||||
Notification.requestPermission().then();
|
Notification.requestPermission().then();
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue