mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Forbid promise misuse (#6360)
This commit is contained in:
@@ -116,6 +116,7 @@ export class NativeMessagingService {
|
||||
|
||||
switch (message.command) {
|
||||
case "biometricUnlock": {
|
||||
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
||||
if (!this.platformUtilService.supportsBiometric()) {
|
||||
return this.send({ command: "biometricUnlock", response: "not supported" }, appId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user