fix: rename awk variable to avoid CI smoke test false positive

The agent-smoke function resolution check flags underscore-containing
identifiers as potential undefined bash functions. Rename in_code to
incode to match the convention used by the existing capture variable.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-23 02:26:49 +00:00
parent 1cca1a7b7f
commit 2bda20f207

View file

@ -25,8 +25,8 @@ BODY=$(cat)
# Also check inline deps on same line as keyword (skip fenced code blocks)
echo "$BODY" | awk '
/^```/ { in_code = !in_code; next }
in_code { next }
/^```/ { incode = !incode; next }
incode { next }
/blocked by|depends on/i { print }
' | grep -oP '#\K[0-9]+' || true
} | sort -un