aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-12-25 00:30:16 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-12-25 00:30:16 +0800
commit7c3f3d49243896f35ac11209466d9e017cff92b0 (patch)
tree0d85741058b9f8a7f3a0a96fd6b4a97de2c67e7c
parent284e7b25cd6700da009f721446b26de4f6e8bdb8 (diff)
downloadSoopyV2-7c3f3d49243896f35ac11209466d9e017cff92b0.tar.gz
SoopyV2-7c3f3d49243896f35ac11209466d9e017cff92b0.tar.bz2
SoopyV2-7c3f3d49243896f35ac11209466d9e017cff92b0.zip
does this work
-rw-r--r--CI/supporttest.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/CI/supporttest.js b/CI/supporttest.js
index b735425..8076637 100644
--- a/CI/supporttest.js
+++ b/CI/supporttest.js
@@ -1,2 +1,7 @@
+let errored = false
+
console.log("This is running nodejs code rn")
-console.error("This is an error!") \ No newline at end of file
+console.error("This is an error!")
+errored = true
+
+process.exit(errored?1:0) \ No newline at end of file