summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBurak Yigit Kaya <[email protected]>2026-04-02 16:52:52 +0100
committerGitHub <[email protected]>2026-04-02 10:52:52 -0500
commitc3dfd08ba8c0378398b598b676c4664b98dd28de (patch)
treeaee3e7881f70c3e6613293755295e3448d220e6e
parent510a1e81403c2438498a5d48b61ce4aa998dfcc9 (diff)
downloadopencode-c3dfd08ba8c0378398b598b676c4664b98dd28de.tar.gz
opencode-c3dfd08ba8c0378398b598b676c4664b98dd28de.zip
fix(format): use biome format instead of check to prevent import removal (#20545)
Co-authored-by: Aiden Cline <[email protected]>
-rw-r--r--packages/opencode/src/format/formatter.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/format/formatter.ts b/packages/opencode/src/format/formatter.ts
index 9051cecde..51a54273f 100644
--- a/packages/opencode/src/format/formatter.ts
+++ b/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",
},