Просмотр исходного кода

fix(format): use biome format instead of check to prevent import removal (#20545)

Co-authored-by: Aiden Cline <[email protected]>
Burak Yigit Kaya 2 недель назад
Родитель
Сommit
c3dfd08ba8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/opencode/src/format/formatter.ts

+ 1 - 1
packages/opencode/src/format/formatter.ts

@@ -103,7 +103,7 @@ export const oxfmt: Info = {
 
 export const biome: Info = {
   name: "biome",
-  command: ["bun", "x", "@biomejs/biome", "check", "--write", "$FILE"],
+  command: ["bun", "x", "@biomejs/biome", "format", "--write", "$FILE"],
   environment: {
     BUN_BE_BUN: "1",
   },