[object Object]

← back to Stars of Design

sod smoke --json suppresses header

660a1739315294afe322c864e75774549e284707 · 2026-05-13 08:39:38 -0700 · Steve Abrams

Files touched

Diff

commit 660a1739315294afe322c864e75774549e284707
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed May 13 08:39:38 2026 -0700

    sod smoke --json suppresses header
---
 test/smoke.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/smoke.js b/test/smoke.js
index 69e26ef..1ff3a18 100644
--- a/test/smoke.js
+++ b/test/smoke.js
@@ -36,7 +36,7 @@ function check(name, cond, hint = '') {
 }
 
 (async () => {
-  console.log(`starsofdesign smoke — ${BASE}\n`);
+  if (!process.argv.includes('--json')) console.log(`starsofdesign smoke — ${BASE}\n`);
 
   // 1. home
   let r = await fetch('/');

← b90e2bb sod smoke +--json flag (parity)  ·  back to Stars of Design  ·  sod GET /api/health — mirrors asim. SELECT 1 liveness via st fd9f828 →