Commit ca64bb8
authored
refactor: replace emoji status glyphs with ASCII tokens (#37)
Eyrie returns user-facing strings that hawk pipes straight to the
terminal (FormatPreflightReport, Report.Markdown) or to a markdown
viewer (GetModelDeprecationWarning). These three functions previously
embedded "✓", "✗", and "⚠" (U+2713 / U+2717 / U+26A0) — all in
the dingbats / symbol block, which the hawk audit test (added in
the parallel hawk commit) classifies as emoji.
Replacing them with ASCII tokens ("+", "x", "[warn]") makes the output
terminal-portable and keeps the no-emoji rule consistent across both
repos. Existing tests continue to pass:
- runtime/preflight_test.go's "warn icon" case asserts the substring
"!", which the warn branch still emits.
- verify/verify_test.go's TestReport_Markdown asserts on the table
header / detail columns, not the status cell.
- catalog/deprecation_test.go asserts on the "will be retired on"
substring.
The change is contained to three call sites; the data shape of
PreflightCheck, Report, and DeprecationEntry is untouched.1 parent f3abc3b commit ca64bb8
3 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
0 commit comments