Commit c0dec46
committed
ci: format fetch-spec-types output with prettier
The nightly update-spec-types workflow is failing because lefthook's
pre-push hook (added in #1003) runs `pnpm run lint:all`, which rejects
the freshly-fetched spec.types.ts for not matching prettier style.
Format the output via prettier's Node API using the project config
before writing it to disk. This also reduces nightly PR diffs to only
semantic changes, not formatting noise.1 parent 379392d commit c0dec46
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | | - | |
| 76 | + | |
76 | 77 | | |
77 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
| |||
0 commit comments