(changelog)
| 300 | } |
| 301 | |
| 302 | function checkLineEndings(changelog) { |
| 303 | if (changelog.indexOf("\r\n") != -1) { |
| 304 | console.error("Changelog contains Windows line endings, please convert to Unix line endings."); |
| 305 | process.exit(-1); |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | const filePath = process.argv[2]; |
| 310 | fs.readFile(filePath, 'utf8', (err, data) => { |
no test coverage detected