MCPcopy Create free account
hub / github.com/driangle/taskmd / printFailureOutput

Function printFailureOutput

apps/cli/internal/cli/verify.go:185–198  ·  view source on GitHub ↗
(step verify.StepResult, r *lipgloss.Renderer)

Source from the content-addressed store, hash-verified

183}
184
185func printFailureOutput(step verify.StepResult, r *lipgloss.Renderer) {
186 printDimLines := func(s string) {
187 for _, line := range strings.Split(strings.TrimRight(s, "\n"), "\n") {
188 fmt.Printf(" %s\n", formatDim(line, r))
189 }
190 }
191
192 if step.Stdout != "" {
193 printDimLines(step.Stdout)
194 }
195 if step.Stderr != "" {
196 printDimLines(step.Stderr)
197 }
198}
199
200func verifySummaryLine(result *verify.Result, r *lipgloss.Renderer) string {
201 var parts []string

Callers 1

printVerifyStepFunction · 0.85

Calls 1

formatDimFunction · 0.85

Tested by

no test coverage detected