mirror of
https://github.com/bitwarden/browser
synced 2025-12-27 13:43:41 +00:00
Match linter rules
This commit is contained in:
@@ -10,7 +10,7 @@ if (process.platform === 'darwin') {
|
||||
}
|
||||
|
||||
export default class IPC {
|
||||
onMessage: (message: object) => void
|
||||
onMessage: (message: object) => void;
|
||||
|
||||
private connected = false;
|
||||
|
||||
@@ -24,7 +24,7 @@ export default class IPC {
|
||||
);
|
||||
|
||||
// Notify browser extension, connection is established to desktop application.
|
||||
this.onMessage({command: 'connected'})
|
||||
this.onMessage({command: 'connected'});
|
||||
});
|
||||
|
||||
ipc.of.bitwarden.on('disconnect', () => {
|
||||
@@ -32,7 +32,7 @@ export default class IPC {
|
||||
console.error('disconnected from world');
|
||||
|
||||
// Notify browser extension, no connection to desktop application.
|
||||
this.onMessage({command: 'disconnected'})
|
||||
this.onMessage({command: 'disconnected'});
|
||||
});
|
||||
|
||||
ipc.of.bitwarden.on('message', (message: any) => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import NativeMessage from './nativemessage';
|
||||
import IPC from './ipc';
|
||||
import NativeMessage from './nativemessage';
|
||||
|
||||
// Proxy is a lightweight application which provides bi-directional communication
|
||||
// between the browser extension and a running desktop application.
|
||||
|
||||
Reference in New Issue
Block a user