From 78f292813268ccf93aa509a0885f2eb10945bebf Mon Sep 17 00:00:00 2001 From: Lap Tran Date: Sun, 8 Nov 2026 18:39:19 -0500 Subject: [PATCH] no-mistakes(document): Correct rebuild.sh npm guard comment --- rebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rebuild.sh b/rebuild.sh index 9dedd15..df487f6 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -19,8 +19,8 @@ fi # Remove retired npm OpenCode installs if an older rebuild installed them: # the `@opencode-ai/cli` beta and the older `opencode-ai` CLI. The Homebrew # `opencode` formula declared in configuration.nix is now the only OpenCode -# install, unpinned so it tracks the latest release. Local check only, so an -# offline rebuild skips this instead of failing. +# install, unpinned so it tracks the latest release. The guard is a local check +# for npm, so a rebuild without npm skips this instead of failing. NPM=/opt/homebrew/bin/npm if [ -x "$NPM" ] && npm_root="$("$NPM" root -g 2>/dev/null)"; then for pkg in @opencode-ai/cli opencode-ai; do