From daaa17b57187661aa1a35bf6aa17cdc6c6184899 Mon Sep 17 00:00:00 2001 From: "jansen.wenberg" Date: Mon, 16 Nov 2026 19:06:53 +0000 Subject: [PATCH] Disable the SC2329 false positive in test/localtest.sh The newer shellcheck on the CI runner reports SC2329 for the curl() override, so all PRs to main fail. The function is exported with export -f and the install script calls it as a child process, so the warning is a false positive. SC2317 is already disabled for the same reason. Environment: Datadog workspace --- test/localtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/localtest.sh b/test/localtest.sh index 5f78ec8a..71d754f2 100755 --- a/test/localtest.sh +++ b/test/localtest.sh @@ -33,7 +33,7 @@ fi # Override curl to capture trace payloads (only if SHOW_TRACE is enabled) if [[ "${SHOW_TRACE}" == "1" ]]; then - # shellcheck disable=SC2317 + # shellcheck disable=SC2317,SC2329 curl() { if [[ "$*" == *"instrumentation-telemetry-intake"* ]]; then echo "[TRACE CAPTURE] Intercepting telemetry submission" >&2