From 2571c26372d0ff7f5bae88c03cdfea3ca0227209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 24 Mar 2020 14:23:49 +0100 Subject: [PATCH] electron-main: Use const instead of let for the index variable. --- src/electron-main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/electron-main.js b/src/electron-main.js index 30efa4b..2cd6c66 100644 --- a/src/electron-main.js +++ b/src/electron-main.js @@ -394,7 +394,7 @@ ipcMain.on('seshat', async function(ev, payload) { case 'closeEventIndex': if (eventIndex !== null) { - let index = eventIndex; + const index = eventIndex; eventIndex = null; try {