Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
pull/32169/head
Evans Mungai 4 weeks ago committed by GitHub
parent ec41aa7fe4
commit eaa46a6485
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -244,9 +244,9 @@ Test binaries have no module info, so without this tag those code paths
panic during package init.
If you run tests outside the Makefile (IDE test runners, `go test` directly,
custom CI), pass `-tags helmtest`. The tag is omitted from release builds so
the `testing` package and its dependencies stay out of shipped binaries, and
branches gated on `testmode.IsTestMode()` are dead-code-eliminated by the compiler.
custom CI), pass `-tags helmtest`. Release builds omit this tag; production
code no longer imports `testing`, and branches gated on `testmode.IsTestMode()`
are dead-code-eliminated by the compiler.
## Pull Requests

Loading…
Cancel
Save