(filePath: string, extension: string)
| 139 | } |
| 140 | |
| 141 | export function hasExtension(filePath: string, extension: string): boolean { |
| 142 | return fs.existsSync(filePath) && path.extname(filePath) === extension; |
| 143 | } |
| 144 | |
| 145 | export function processReplacements(input: string, replacements: Replacements): string { |
| 146 | let outputContent = input; |
no outgoing calls
no test coverage detected