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

Function group

script/beta.ts:60–71  ·  view source on GitHub ↗
(title: string)

Source from the content-addressed store, hash-verified

58}
59
60function group(title: string) {
61 if (process.env.GITHUB_ACTIONS !== "true") {
62 console.log(title)
63 return { [Symbol.dispose]() {} }
64 }
65 console.log(`::group::${title}`)
66 return {
67 [Symbol.dispose]() {
68 console.log("::endgroup::")
69 },
70 }
71}
72
73async function typecheck() {
74 console.log(" Running typecheck...")

Callers 1

mainFunction · 0.70

Calls 1

logMethod · 0.45

Tested by

no test coverage detected