From 4dd19a100bffee35711fe7ea007cf2332a223ef3 Mon Sep 17 00:00:00 2001 From: Decio Ferreira Date: Tue, 17 Sep 2024 18:08:51 +0100 Subject: [PATCH] Add CI for tests and elm-review #21 --- .nvmrc | 2 +- lib/guida.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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);