fix: typeerror case
This commit is contained in:
parent
14f9b95557
commit
1fc6c6fb2a
@ -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…
Reference in New Issue
Block a user