« get me outta code hell

upd8, write: stepStatusSummary warning for incomplete static-build - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-10-30 16:59:46 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-10-30 16:59:46 -0300
commit5f8b0426c27b4aafa2325ace72117d5259ad743e (patch)
tree6441dabd7e2803f9924e001efd0f1d42f8a91dea
parent47db4cec1b6203a4c14f6d01f396c2418787146a (diff)
upd8, write: stepStatusSummary warning for incomplete static-build
-rwxr-xr-xsrc/upd8.js2
-rw-r--r--src/write/build-modes/static-build.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js
index c7fe0ca..10fa43a 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -1164,7 +1164,7 @@ async function main() {
   if (buildModeResult !== true) {
     Object.assign(stepStatusSummary.performBuild, {
       status: STATUS_HAS_WARNINGS,
-      message: `may not have completed - view log for details`,
+      annotation: `may not have completed - view log for details`,
     });
 
     return false;
diff --git a/src/write/build-modes/static-build.js b/src/write/build-modes/static-build.js
index 96f2a0e..b6dc964 100644
--- a/src/write/build-modes/static-build.js
+++ b/src/write/build-modes/static-build.js
@@ -374,6 +374,8 @@ export async function go({
     logWarn`available - albeit possibly outdated! Please scroll up and send`;
     logWarn`the HSMusic developers a copy of the errors:`;
     fileIssue({topMessage: null});
+
+    return false;
   }
 
   return true;