MCPcopy Create free account
hub / github.com/Effect-TS/effect / annotateErrorLine

Function annotateErrorLine

packages/effect/src/unstable/cli/Prompt.ts:725–725  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

723
724const annotateLine = (line: string): string => Ansi.annotate(line, Ansi.bold)
725const annotateErrorLine = (line: string): string => Ansi.annotate(line, Ansi.combine(Ansi.italicized, Ansi.red))
726
727/**
728 * Creates a confirmation prompt that asks the user to choose a boolean yes/no

Callers 4

renderDateErrorFunction · 0.85
renderMultiSelectErrorFunction · 0.85
renderNumberErrorFunction · 0.85
renderTextErrorFunction · 0.85

Calls 2

annotateMethod · 0.65
combineMethod · 0.65

Tested by

no test coverage detected