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

Correctly print CF CLI version #1106

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Correctly print CF CLI version #1106

merged 1 commit into from
Apr 5, 2024

Conversation

johha
Copy link
Contributor

@johha johha commented Apr 5, 2024

What is this change about?

STDOUT output of fmt is not captured by ginkgo and thus the version is not printed. When using GinkgoWriter the message is captured correctly.

Please check all that apply for this PR:

  • introduces a new test --- Are you sure everyone should be running this test?
  • changes an existing test
  • requires an update to a CATs integration-config
    -> not applicable

Did you update the README as appropriate for this change?

  • YES
  • N/A

What is the level of urgency for publishing this change?

  • Urgent - unblocks current or future work
  • Slightly Less than Urgent

STDOUT output of fmt is not captured by ginkgo and thus the version is not printed.
When using `GinkgoWriter` the message is captured correctly.
@johha johha merged commit 9362a33 into develop Apr 5, 2024
3 checks passed
@johha johha deleted the print-cli-version branch April 5, 2024 12:51
@ctlong
Copy link
Member

ctlong commented Apr 5, 2024

@johha do we still need the PauseOutputInterception() and ResumeOutputInterception() calls around it now?

@johha
Copy link
Contributor Author

johha commented Apr 8, 2024

@johha do we still need the PauseOutputInterception() and ResumeOutputInterception() calls around it now?

Still need it to show the version number

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.

3 participants