You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[6.0] swift sdk: print warnings on stderr instead of stdout (#7533)
Cherry-pick of #7532.
**Explanation**: Tools and scripts may rely on command output to remain
parseable, so printing these warnings on `stdout` can break such
workflows. We should output these warnings on `stderr` instead.
As these warnings are emitted before any logging is available, we're
using `fputs` for output on `stderr`
**Scope**: Isolated to `swift sdk` command and subcommands.
**Risk**: Low, the actual change is only 4 lines touching `print` and
`import`, code coverage for those is present.
**Testing**: End-to-end test cases present in
`Tests/CommandsTests/SDKCommandTests.swift`
**Issue**: N/A
**Reviewer**: @bnbarham
0 commit comments