Commit ab9b237
committed
fix(scripts): re-spell check-changeset-no-major's older R control through renameRow
Fixes #7164
The rename-row control PR #7048 added asserted only /^R\d/.test(raw.trim()) —
that the diff output begins with an R row, not which two paths git paired.
PR #7157 brought the family's renameRow helper (whole-row match, pinning both
paths) into this file for its own case; this control was the one spelling
left behind. Re-spelled through renameRow(dir, base, '.changeset/old.md',
'.changeset/new.md'), matching the shape check-empty-changeset.mjs and
check-adr-0087-registration.mjs already use, and removed the now-unused raw
binding. No behaviour change.1 parent f3f855a commit ab9b237
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1078 | 1078 | | |
1079 | 1079 | | |
1080 | 1080 | | |
1081 | | - | |
1082 | 1081 | | |
1083 | | - | |
1084 | | - | |
| 1082 | + | |
| 1083 | + | |
1085 | 1084 | | |
1086 | 1085 | | |
1087 | 1086 | | |
| |||
0 commit comments