Repository navigation
Commit 2d26285
fix(token-report): set CLICOLOR_FORCE=0 instead of stripping ANSI
PRQL/prql's .github/actions/tend-setup/action.yaml sets CLICOLOR_FORCE=1
via $GITHUB_ENV to force cargo/clippy colors. gh treats CLICOLOR_FORCE as
higher priority than NO_COLOR, so NO_COLOR=1 alone didn't suppress colors
in --json output. Setting CLICOLOR_FORCE=0 in the script overrides the
inherited value and addresses the root cause directly — simpler and more
transparent than the sed-based strip_ansi approach.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 6578b92 commit 2d26285
1 file changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| |||
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
59 | | - | |
| 56 | + | |
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
| |||
0 commit comments