MCPcopy
hub / github.com/coder/mux / extractReportMarkdown

Function extractReportMarkdown

src/cli/workflow.ts:464–470  ·  view source on GitHub ↗
(result: unknown)

Source from the content-addressed store, hash-verified

462}
463
464function extractReportMarkdown(result: unknown): string {
465 if (typeof result === "object" && result != null && "reportMarkdown" in result) {
466 const reportMarkdown = (result as { reportMarkdown?: unknown }).reportMarkdown;
467 return typeof reportMarkdown === "string" ? reportMarkdown : "";
468 }
469 return "";
470}
471
472function configureLogging(options: Pick<WorkflowCLIOptions, "logLevel" | "verbose">): void {
473 if (options.logLevel == null) {

Callers 1

runWorkflowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected