(files: Array<string>, targetDir?: string)
| 103 | } |
| 104 | |
| 105 | export function cleanUpFileArray(files: Array<string>, targetDir?: string) { |
| 106 | return files.reduce<Array<string>>((acc, file) => { |
| 107 | if (basenamePath(file) !== '.cta.json') { |
| 108 | acc.push(targetDir ? toCleanPath(file, targetDir) : file) |
| 109 | } |
| 110 | return acc |
| 111 | }, []) |
| 112 | } |
nothing calls this directly
no test coverage detected