(src, dest, verbose)
| 38 | } |
| 39 | |
| 40 | function appendFile(src, dest, verbose) { |
| 41 | const content = fs.readFileSync(src, 'utf8'); |
| 42 | writeFile(dest, content, 'a+', verbose); |
| 43 | } |
| 44 | |
| 45 | function getModeFromPath(path = '') { |
| 46 | const matchExts = (...exts) => exts.find((ext) => path.endsWith(ext)); |
no test coverage detected