From 7d7bb94b8f5957f20986ababec9f76581e80c204 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Tue, 14 Jul 2020 18:43:22 +0200 Subject: [PATCH] fix: try to solve codacy warnings --- main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.ts b/main.ts index 18d9112366..c5b633a009 100644 --- a/main.ts +++ b/main.ts @@ -126,14 +126,14 @@ try { submenu: [ { label: 'Keira3 Repository', - click: function () { + click: () => { shell.openExternal('https://github.com/AzerothCore/Keira3/'); }, accelerator: process.platform === 'darwin' ? 'Cmd+F+1' : 'F1', }, { label: 'Report a Bug', - click: function () { + click: () => { shell.openExternal('https://github.com/AzerothCore/Keira3/issues/new'); } },