From 70b4f97f2c8da184a1b3dc942ef6b1bd63b123aa Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sun, 11 Feb 2018 01:21:01 -0500 Subject: [PATCH] lint fixes --- src/main/messaging.main.ts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/main/messaging.main.ts b/src/main/messaging.main.ts index e99fda9f21..fb0ab012d3 100644 --- a/src/main/messaging.main.ts +++ b/src/main/messaging.main.ts @@ -1,5 +1,13 @@ -import { app, ipcMain } from 'electron'; -import { getPassword, setPassword, deletePassword } from 'keytar'; +import { + app, + ipcMain, +} from 'electron'; + +import { + deletePassword, + getPassword, + setPassword, +} from 'keytar'; import { WindowMain } from './window.main'; @@ -29,8 +37,7 @@ export class MessagingMain { } event.returnValue = val; - } - catch { + } catch { event.returnValue = null; } });