Skip to content

Commit bd4b475

Browse files
committed
changelog: twelve engine refusals read differently, and the report splits them all
1 parent bda1961 commit bd4b475

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,18 @@ because it turns other people's test suites red.
9797
batch, and on a form with twenty of them "this run asks for 1000001 files"
9898
with nothing marked left you to work out which. The window marks it and
9999
`validate --json` carries `"at": "targets[2].count"`.
100-
- `tfg validate --json` now splits a refusal that came from a format or a preset
101-
into `what`, `why` and `fix`, the way it already did for refusals the recipe
102-
reader produced. Before this, those arrived as one sentence and a script
103-
grouping by reason had to take prose apart to do it. Nothing you read on the
104-
terminal changed - the sentence is still assembled the same way and printed
105-
the same way.
100+
- `tfg validate --json` now splits every refusal into `what`, `why` and `fix`,
101+
the way it already did for the ones the recipe reader produced. Before this, a
102+
refusal from a format, a preset or the engine arrived as one sentence and a
103+
script grouping by reason had to take prose apart to do it.
104+
- Twelve refusals the engine produces read slightly differently as a result. The
105+
punctuation moved and nothing else: a full stop or a colon between what is
106+
wrong and why becomes a dash, the dash before what to do becomes a full stop,
107+
and that last part now starts with a capital letter. So `... holds the
108+
character "<". Windows refuses ... everywhere - take the character out` reads
109+
`... holds the character "<" - Windows refuses ... everywhere. Take the
110+
character out`. Nothing was added or removed, and if you match on these
111+
messages in a script, match on `at` and the three fields instead.
106112
- **Exit code:** a recipe asking for a format setting the format will not take
107113
now ends with `3` (the recipe is wrong) rather than `4` (the format cannot do
108114
it). The check moved into the recipe reader so the refusal could name its

0 commit comments

Comments
 (0)