From 1d56696004ba144a042adf64c64b3ce34718697d Mon Sep 17 00:00:00 2001 From: Sven Date: Sun, 3 May 2026 12:33:56 +0200 Subject: [PATCH] start.example.sh: replace patch for-loop with run-patches.mjs The unified runner provides a summary line, --check mode, and surfaces failures by name. The for-loop had no error aggregation and no output when patches were already applied. --- start.example.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/start.example.sh b/start.example.sh index 6a6cffe4..dc0f65a4 100644 --- a/start.example.sh +++ b/start.example.sh @@ -47,10 +47,7 @@ unset DEBUG # Normalize ActivityPub profile URL fields (icon/image/aliases) in MongoDB. "${NODE_BIN}" scripts/preflight-activitypub-profile-urls.mjs -for patch in scripts/patch-*.mjs; do - echo "[startup] Applying patch: $patch" - "${NODE_BIN}" "$patch" -done +"${NODE_BIN}" scripts/run-patches.mjs "${NODE_BIN}" --require ./metrics-shim.cjs node_modules/@indiekit/indiekit/bin/cli.js serve --config indiekit.config.mjs & INDIEKIT_PID="$!"