1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 13:10:17 +00:00

Fix linting

This commit is contained in:
Bernd Schoolmann
2025-09-04 21:48:08 +02:00
parent ad5159b4cd
commit 690c4701cc
3 changed files with 5 additions and 5 deletions

View File

@@ -2,8 +2,8 @@ pub mod autofill;
pub mod autostart;
pub mod biometric;
pub mod biometric_v2;
pub(crate) mod crypto;
pub mod clipboard;
pub(crate) mod crypto;
pub mod error;
pub mod ipc;
pub mod password;

View File

@@ -152,17 +152,17 @@ pub mod biometrics {
#[napi]
pub mod biometrics_v2 {
use desktop_core::biometric::BiometricTrait;
use desktop_core::biometric_v2::BiometricTrait;
#[napi]
pub struct BiometricLockSystem {
inner: desktop_core::biometric::BiometricLockSystem,
inner: desktop_core::biometric_v2::BiometricLockSystem,
}
#[napi]
pub fn init_biometric_system() -> napi::Result<BiometricLockSystem> {
Ok(BiometricLockSystem {
inner: desktop_core::biometric::BiometricLockSystem::new(),
inner: desktop_core::biometric_v2::BiometricLockSystem::new(),
})
}

View File

@@ -88,7 +88,7 @@ export class BiometricMessageHandlerService {
// This will be removed after the flag is rolled out
// eslint-disable-next-line @typescript-eslint/no-floating-promises
(async () => {
const enabled = awaithis.configService.getFeatureFlag(FeatureFlag.SystemBiometricsV2);
const enabled = await this.configService.getFeatureFlag(FeatureFlag.SystemBiometricsV2);
this.logService.info("[Native Messaging IPC] SystemBiometricsV2 feature flag is " + enabled);
if (enabled) {
await this.biometricsService.enableV2BiometricsBackend();