mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The `color=tty` setting was checking `stdout` to see if it was a TTY, but we may be using `stderr`, in which case it's easy to end up with coloured output in a file we're redirecting to. Fix it to check the selected output instead. rdar://164624364
41 KiB
41 KiB