mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: typeerror case
This commit is contained in:
parent
14f9b95557
commit
1fc6c6fb2a
1 changed files with 3 additions and 0 deletions
|
|
@ -41,6 +41,9 @@ export namespace Format {
|
|||
extensions: [],
|
||||
...item,
|
||||
})
|
||||
|
||||
if (result.command.length === 0) continue
|
||||
|
||||
result.enabled = async () => true
|
||||
result.name = name
|
||||
formatters[name] = result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue