MCPcopy
hub / github.com/triggerdotdev/trigger.dev / saveLogs

Function saveLogs

packages/cli-v3/src/commands/deploy.ts:668–672  ·  view source on GitHub ↗
(shortCode: string, logs: string)

Source from the content-addressed store, hash-verified

666}
667
668async function saveLogs(shortCode: string, logs: string) {
669 const logPath = join(await createTempDir(), `build-${shortCode}.log`);
670 await writeFile(logPath, logs);
671 return logPath;
672}
673
674async function failDeploy(
675 shortCode: string,

Callers 2

preExitTasksFunction · 0.85
failDeployFunction · 0.85

Calls 1

createTempDirFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…