From ec88f446fc8e4ef525b605772054616206c784ec Mon Sep 17 00:00:00 2001 From: Amy <3855802+amylizzle@users.noreply.github.com> Date: Sun, 11 Aug 2024 18:13:01 +0100 Subject: [PATCH] === (#10) --- src/extension.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 408aaf6..3327fe1 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -320,7 +320,8 @@ class ODBinaryDistribution implements OpenDreamInstallation { let compileProcess = spawn(compilerPath, [dme], { cwd: workspaceFolder.path }); compileProcess.on('close', (code) => { - closeEmitter.fire(code || 1); + console.log(`Compiler process exited with code ${code}`); + closeEmitter.fire(code === null ? 1 : code); }); compileProcess.on('error', (err) => {