From 2df371ca98c93abd544afa9677a026de924dfbeb Mon Sep 17 00:00:00 2001 From: dj2ls Date: Fri, 23 Sep 2022 19:22:47 +0200 Subject: [PATCH] codefactor improvement --- gui/main.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gui/main.js b/gui/main.js index caa21b6a..df11f2a3 100644 --- a/gui/main.js +++ b/gui/main.js @@ -444,7 +444,7 @@ ipcMain.on('request-update-transmission-status', (event, arg) => { chat.webContents.send('action-update-transmission-status', arg); }); -ipcMain.on('request-open-tnc-log', (event) => { +ipcMain.on('request-open-tnc-log', () => { logViewer.show(); }); @@ -780,12 +780,14 @@ ipcMain.on('request-start-rigctld',(event,data)=>{ console.log(data.path) console.log(data.parameters) - - + // TODO: WE NEED SOME ERROR HANDLING const rigctld = exec(data.path, data.parameters); + /* rigctld.stdout.on("data", data => { console.log(`stdout: ${data}`); }); + */ + });