MCPcopy Create free account
hub / github.com/anomalyco/opencode / editOverrides

Function editOverrides

script/upgrade-opentui.ts:83–96  ·  view source on GitHub ↗
(obj: unknown)

Source from the content-addressed store, hash-verified

81}
82
83const editOverrides = (obj: unknown) => {
84 if (!obj || typeof obj !== "object") return false
85 const map = obj as Record<string, unknown>
86 return keys
87 .map((key) => {
88 const cur = map[key]
89 if (typeof cur !== "string") return false
90 const next = snapshot ? ver : "catalog:"
91 if (next === cur) return false
92 map[key] = next
93 return true
94 })
95 .some(Boolean)
96}
97
98const out = (
99 await Promise.all(

Callers 1

upgrade-opentui.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected