MCPcopy Create free account
hub / github.com/MirrowApp/mirrow / resolveOutputFilePath

Function resolveOutputFilePath

packages/cli/src/runner.ts:131–133  ·  view source on GitHub ↗
(output: string)

Source from the content-addressed store, hash-verified

129}
130
131function resolveOutputFilePath(output: string): string {
132 return path.extname(output) ? output : `${output}.svg`;
133}
134
135async function ensureOutputParent(target: string): Promise<void> {
136 const parent = path.dirname(target);

Callers 2

runMirrowFunction · 0.85
watchFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected