From f516975484a79a82b2c9c68a79474cc535ac4753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=84=E3=81=98=E3=81=AF=E3=82=80?= <117247060+yajihum@users.noreply.github.com> Date: Sat, 7 Sep 2024 21:30:24 +0900 Subject: [PATCH] fix: change --apply to --write in biome check command (#1616) --- packages/orval/src/write-specs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/orval/src/write-specs.ts b/packages/orval/src/write-specs.ts index b84bece49..0eaa5977a 100644 --- a/packages/orval/src/write-specs.ts +++ b/packages/orval/src/write-specs.ts @@ -187,7 +187,7 @@ export const writeSpecs = async ( if (output.biome) { try { - await execa('biome', ['check', '--apply', ...paths]); + await execa('biome', ['check', '--write', ...paths]); } catch (e: any) { const message = e.exitCode === 1