From c031e26981347bef0adf30e5fc351f1b9f79a8a1 Mon Sep 17 00:00:00 2001 From: JenChieh Date: Thu, 13 Jun 2024 17:05:30 -0700 Subject: [PATCH] fix: weird formatting --- cmds/core/emacs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cmds/core/emacs.js b/cmds/core/emacs.js index dbbdae14..b71feb95 100644 --- a/cmds/core/emacs.js +++ b/cmds/core/emacs.js @@ -40,6 +40,7 @@ exports.handler = async (argv) => { UTIL.setup_env(); let proc = child_process.spawn(UTIL.cli_args(cmd), { stdio: 'inherit', shell: true }); + proc.on('close', function (code) { if (code == 0) return; process.exit(code);