(filePath, content)
| 16 | |
| 17 | // Function to write content to a file |
| 18 | function writeFile(filePath, content) { |
| 19 | console.log("Writing file", filePath); |
| 20 | fs.writeFileSync(filePath, content, "utf8"); |
| 21 | } |
| 22 | |
| 23 | // function escapeRegExp(string) { |
| 24 | // return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string |
no outgoing calls
no test coverage detected