Minor cleanup

This commit is contained in:
Hinton 2020-10-12 18:03:16 +02:00
parent c80b538674
commit 44cd222626
2 changed files with 4 additions and 5 deletions

View File

@ -4,8 +4,8 @@ import IPC from './ipc';
const args = process.argv.slice(2); const args = process.argv.slice(2);
class Proxy { class Proxy {
ipc: IPC; private ipc: IPC;
nativeMessage: NativeMessage; private nativeMessage: NativeMessage;
constructor() { constructor() {
this.ipc = new IPC(); this.ipc = new IPC();

View File

@ -202,7 +202,6 @@ export class NativeMessagingService {
} }
const response = await this.biometricMain.requestCreate(); const response = await this.biometricMain.requestCreate();
if (response) { if (response) {
this.send({command: 'biometricUnlock', response: 'unlocked'}, socket); this.send({command: 'biometricUnlock', response: 'unlocked'}, socket);
} else { } else {
@ -211,7 +210,7 @@ export class NativeMessagingService {
break; break;
default: default:
console.error("UNKNOWN COMMAND") console.error('UNKNOWN COMMAND')
} }
} }
} }