MCPcopy Create free account
hub / github.com/cortexkit/magic-context / sanitizeLogContent

Function sanitizeLogContent

packages/cli/src/lib/logs-pi.ts:11–13  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

9import { capBodyToGithubLimit, extractRecentErrors } from "./issue-body";
10
11export function sanitizeLogContent(content: string): string {
12 return sanitizeString(content);
13}
14
15function formatTimestamp(date: Date): string {
16 const pad = (value: number) => String(value).padStart(2, "0");

Callers 1

bundleIssueReportFunction · 0.70

Calls 1

sanitizeStringFunction · 0.90

Tested by

no test coverage detected