mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-15 10:25:21 +01:00
Minor cleanup
This commit is contained in:
parent
c80b538674
commit
44cd222626
@ -4,8 +4,8 @@ import IPC from './ipc';
|
||||
const args = process.argv.slice(2);
|
||||
|
||||
class Proxy {
|
||||
ipc: IPC;
|
||||
nativeMessage: NativeMessage;
|
||||
private ipc: IPC;
|
||||
private nativeMessage: NativeMessage;
|
||||
|
||||
constructor() {
|
||||
this.ipc = new IPC();
|
||||
|
@ -202,16 +202,15 @@ export class NativeMessagingService {
|
||||
}
|
||||
|
||||
const response = await this.biometricMain.requestCreate();
|
||||
|
||||
if (response) {
|
||||
this.send({command: 'biometricUnlock', response: 'unlocked'}, socket);
|
||||
} else {
|
||||
this.send({command: 'biometricUnlock', response: 'canceled'}, socket);
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
default:
|
||||
console.error("UNKNOWN COMMAND")
|
||||
console.error('UNKNOWN COMMAND')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user