diff --git a/.nvmrc b/.nvmrc index d542ef359..bc7b6ca04 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v22.3.0 +v22.8.0 \ No newline at end of file diff --git a/lib/guida.js b/lib/guida.js index 10d1e5153..b880a3788 100755 --- a/lib/guida.js +++ b/lib/guida.js @@ -14,6 +14,7 @@ try { `elm make terminal/src/Main.elm --debug --output ${jsFile}` ); } catch (e) { + console.error(e); process.exit(255); } @@ -25,6 +26,4 @@ const sourceCode = template({ }); fs.writeFileSync("./bin/guida.js", sourceCode, { mode: 0o755 }); - fs.unlinkSync(jsFile); -process.exit(255);