Commit 63467eb
committed
fix(utils): check TERM=dumb before platform-specific color detection
The TERM=dumb check was only in the Unix code path, causing
supports_color to return True on Windows CI runners where
build >= 10586. Move the check before the platform branch so
it applies universally.1 parent 39f2b1d commit 63467eb
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
| |||
125 | 129 | | |
126 | 130 | | |
127 | 131 | | |
128 | | - | |
129 | | - | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
0 commit comments