(path, source)
| 72 | } |
| 73 | |
| 74 | function writeSource(path, source) { |
| 75 | try { |
| 76 | writeFileSync(path, source); |
| 77 | } catch { |
| 78 | fail(); |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | function replaceRequired(source, oldText, newText) { |
| 83 | if (source.includes(newText)) { |
no test coverage detected