mirror of
https://github.com/bitwarden/browser
synced 2026-02-09 13:10:17 +00:00
Fix linting
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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(),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user