MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / writeCommentArtifact

Function writeCommentArtifact

packages/bumpy/src/commands/ci.ts:109–112  ·  view source on GitHub ↗

Write the rendered comment body to the emit dir for a downstream `ci comment`.

(dir: string, body: string)

Source from the content-addressed store, hash-verified

107
108/** Write the rendered comment body to the emit dir for a downstream `ci comment`. */
109function writeCommentArtifact(dir: string, body: string): void {
110 mkdirSync(dir, { recursive: true });
111 writeFileSync(resolve(dir, COMMENT_ARTIFACT_FILE), body, 'utf-8');
112}
113
114/**
115 * CI check: report on pending bump files.

Callers 1

ciCheckCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…