Skip to content

Commit

Permalink
Fix prettier-yaml restyler error. (#27277)
Browse files Browse the repository at this point in the history
See
restyled-io/restyler#208 (comment) item
3: we are pinning a specific version of the prettier image, which means we have
to use a command syntax that works with that version.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Oct 10, 2023
1 parent a4b645b commit 2767905
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .restyled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ restylers:
- name: prettier-yaml
image: restyled/restyler-prettier:v1.19.1-2
enabled: true
command:
- prettier
- "--write"
include:
- "**/*.yml"
- "**/*.yaml"
Expand Down

0 comments on commit 2767905

Please sign in to comment.