MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / chalkMessage

Method chalkMessage

src/common/debug.ts:79–81  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

77 return terminal.renderSpan({ content: s, fg: 'red' });
78 }
79 chalkMessage(s: string): string {
80 return terminal.renderSpan({ content: s, fg: 'red' });
81 }
82
83 /** line: 1..., column: 1... */
84 sourceAround(line: number, column: number, message?: string): string {

Callers 1

sourceAroundMethod · 0.95

Calls 1

renderSpanMethod · 0.45

Tested by

no test coverage detected