From 6013fcd5282b88f99a1aea3a13e8bc735b005748 Mon Sep 17 00:00:00 2001 From: jake87 Date: Sat, 6 Nov 2021 17:04:34 +1100 Subject: [PATCH] Started rework of file loading system --- packages/ctl/ctl.js | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/packages/ctl/ctl.js b/packages/ctl/ctl.js index 5a7eddf0..b41f3a35 100755 --- a/packages/ctl/ctl.js +++ b/packages/ctl/ctl.js @@ -151,26 +151,6 @@ masterConfigCommands.add(new libCommand.Command({ throw err; } }); - - async function afterEditorDone() { - } - - // <-- start process of running editor --> - let editorSpawn = child_process.spawn(editor, [tmpFile], { - stdio: "inherit", - detached: true, - }); - editorSpawn.on("data", (data) => { - process.stdout.pipe(data); - }); - editorSpawn.on("err", (err) => { - throw new libErrors.CommandError(err); - }); - editorSpawn.on("exit", (exit) => { - afterEditorDone(); - }); - // this is more verbose then it probably needs to be, but IMO this is more readable - // <-- end process of starting editor --> }, }));