[object Object]

← back to AsSeenInMovies

asim smoke --json suppresses header so output is parseable.

1df1a757cccb0d419d251e29ffb2962fe70d52d8 · 2026-05-13 08:39:38 -0700 · SteveStudio2

Files touched

Diff

commit 1df1a757cccb0d419d251e29ffb2962fe70d52d8
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date:   Wed May 13 08:39:38 2026 -0700

    asim smoke --json suppresses header so output is parseable.
---
 test/smoke.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

← ba2ce08 asim smoke +--json flag (monitoring/dashboard output)  ·  back to AsSeenInMovies  ·  asim sitemap.xml + .txt Cache-Control 1h→6h + SWR 24h (catal c6662ec →