MCPcopy
hub / github.com/promptfoo/promptfoo / cleanupConfig

Function cleanupConfig

code-scan-action/src/main.ts:708–712  ·  view source on GitHub ↗
(configPath: string, finalConfigPath: string)

Source from the content-addressed store, hash-verified

706}
707
708function cleanupConfig(configPath: string, finalConfigPath: string): void {
709 if (!configPath) {
710 fs.unlinkSync(finalConfigPath);
711 }
712}
713
714async function runCodeScan(): Promise<void> {
715 const inputs = getActionInputs();

Callers 1

runCodeScanFunction · 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…