MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / cleanupTempFiles

Function cleanupTempFiles

lib/utils/typescript.js:441–451  ·  view source on GitHub ↗
(tempFiles)

Source from the content-addressed store, hash-verified

439 * @param {string[]} tempFiles - Array of temp file paths to delete
440 */
441export function cleanupTempFiles(tempFiles) {
442 for (const file of tempFiles) {
443 if (fs.existsSync(file)) {
444 try {
445 fs.unlinkSync(file)
446 } catch (err) {
447 // Ignore cleanup errors
448 }
449 }
450 }
451}

Callers 4

requireHelperFromModuleFunction · 0.90
loadSupportObjectFunction · 0.90
loadConfigFileFunction · 0.90
typescript_test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected