From 27679056051aed68113d90890c58b060dc41cf13 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Thu, 15 Jun 2023 17:48:26 -0400 Subject: [PATCH] Fix prettier-yaml restyler error. (#27277) See https://github.com/restyled-io/restyler/issues/208#issuecomment-1593198441 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. --- .restyled.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.restyled.yaml b/.restyled.yaml index 75613cbb95619e..a57f9ce75a838a 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -190,6 +190,9 @@ restylers: - name: prettier-yaml image: restyled/restyler-prettier:v1.19.1-2 enabled: true + command: + - prettier + - "--write" include: - "**/*.yml" - "**/*.yaml"