Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 1fc6c6f

Browse files
committed
fix: typeerror case
1 parent 14f9b95 commit 1fc6c6f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/opencode/src/format/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ export namespace Format {
4141
extensions: [],
4242
...item,
4343
})
44+
45+
if (result.command.length === 0) continue
46+
4447
result.enabled = async () => true
4548
result.name = name
4649
formatters[name] = result

0 commit comments

Comments
 (0)