mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-13 15:44:56 +00:00
chore: generate
This commit is contained in:
@@ -33,7 +33,11 @@ function configIssues(input: Record<string, unknown>): ConfigIssue[] {
|
||||
return Array.isArray(input.issues)
|
||||
? input.issues.filter((issue): issue is ConfigIssue => {
|
||||
if (!isRecord(issue)) return false
|
||||
return typeof issue.message === "string" && Array.isArray(issue.path) && issue.path.every((x) => typeof x === "string")
|
||||
return (
|
||||
typeof issue.message === "string" &&
|
||||
Array.isArray(issue.path) &&
|
||||
issue.path.every((x) => typeof x === "string")
|
||||
)
|
||||
})
|
||||
: []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user