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:
parent
1cca1a7b7f
commit
2bda20f207
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue