Commit 5c18bdd
Emit plain output when stdout is redirected; fix CI-only test failure
Spectre's ANSI detection can be fooled in CI into emitting colour escapes
even when stdout is redirected, which broke an interop warning assertion
(a colour span sat between "references" and the package name). Force no-ANSI
when output is redirected — correct behaviour for pipes/file capture/CI —
and harden the assertion to match the bare token.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5a6b94d commit 5c18bdd
3 files changed
Lines changed: 17 additions & 2 deletions
File tree
- .changeset
- src/SolarWinds.Changesets
- tests/SolarWinds.Changesets.Tests/E2E
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
18 | 26 | | |
19 | 27 | | |
20 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
223 | 225 | | |
224 | | - | |
| 226 | + | |
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
| |||
0 commit comments