Skip to content

Commit b6e11f6

Browse files
committed
darwin-notifications: Avoid no-useless-return warnings.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 1c60c33 commit b6e11f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/renderer/js/notification/darwin-notifications.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class DarwinNotification {
4747
}
4848

4949
static requestPermission(): void {
50-
return; // eslint-disable-line no-useless-return
50+
// Do nothing
5151
}
5252

5353
// Override default Notification permission
@@ -104,7 +104,7 @@ class DarwinNotification {
104104
// Method specific to notification api
105105
// used by zulip
106106
close(): void {
107-
return; // eslint-disable-line no-useless-return
107+
// Do nothing
108108
}
109109
}
110110

0 commit comments

Comments
 (0)