Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Make detection for test-binary more universal (#2173)" #2235

Merged
merged 1 commit into from
Feb 16, 2025

Conversation

marckhouzam
Copy link
Collaborator

This reverts commit d1e9d85.

Some programs set os.Args in their unit tests and this change would break those tests.

Ref: #2173 (comment)

This reverts commit d1e9d85.

Some programs set os.Args in their unit tests and this change would
break those tests.

Ref: spf13#2173 (comment)
@marckhouzam
Copy link
Collaborator Author

@jpmcb @thaJeztah

@marckhouzam
Copy link
Collaborator Author

I've run the tanzu and helm unit tests and they pass with this PR on top of cobra 1.9.0.

Copy link
Contributor

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah
Copy link
Contributor

I've run the tanzu and helm unit tests and they pass with this PR on top of cobra 1.9.0.

Thanks, that's what matters right now; let's see if we can bring this back after this 👍

@marckhouzam marckhouzam merged commit 40b5bc1 into spf13:main Feb 16, 2025
20 checks passed
@marckhouzam marckhouzam deleted the fix/revert2173 branch February 16, 2025 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants