Skip to content

fix: Print the warning message to stderr instead of stdout#1895

Merged
jamietanna merged 2 commits intooapi-codegen:mainfrom
ignassew:not-main
Apr 21, 2025
Merged

fix: Print the warning message to stderr instead of stdout#1895
jamietanna merged 2 commits intooapi-codegen:mainfrom
ignassew:not-main

Conversation

@ignassew
Copy link
Copy Markdown
Contributor

@ignassew ignassew commented Feb 7, 2025

This is the same PR as #1891 but without not on the main branch.

Warning being printed to stdout effectively disables the use of redirecting output to file. This PR fixes it.

@ignassew ignassew requested a review from a team as a code owner February 7, 2025 10:02
@jamietanna
Copy link
Copy Markdown
Member

Thanks! Will want to double check that there's nowhere else we've got a similar thing, agree that this isn't helpful when you're redirecting to a file, apologies!

@ignassew
Copy link
Copy Markdown
Contributor Author

Thanks! Will want to double check that there's nowhere else we've got a similar thing, agree that this isn't helpful when you're redirecting to a file, apologies!

FYI I did some grepping and I couldn't find any other occurrences. You can double check if you'd like.

@jamietanna jamietanna enabled auto-merge (squash) April 21, 2025 15:16
@jamietanna jamietanna added the bug Something isn't working label Apr 21, 2025
@jamietanna jamietanna merged commit e6bcad1 into oapi-codegen:main Apr 21, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants