Revert "Make detection for test-binary more universal (#2173)" (#2235)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This reverts commit d1e9d85fcf592461f3bc2f4b6d5e140c4c0aabf8. Some programs set os.Args in their unit tests and this change would break those tests.
authored by Marc Khouzam · committed by GitHub · parent a97f9fd · Browse files · 4 files+3 added−76 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Ref: https://github.com/spf13/cobra/pull/2173#issuecomment-2661544195
Diff stats
4 files+3 added−76 removed
- other:+3 added−76 removed