From 2bda20f207ba5e9de403af860a0cabfa1a4b77a4 Mon Sep 17 00:00:00 2001 From: openhands Date: Mon, 23 Mar 2026 02:26:49 +0000 Subject: [PATCH] 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) --- lib/parse-deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/parse-deps.sh b/lib/parse-deps.sh index a8325d0..d784545 100755 --- a/lib/parse-deps.sh +++ b/lib/parse-deps.sh @@ -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