We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d2e40b + 2787916 commit 452db73Copy full SHA for 452db73
cmd/check-version.js
@@ -1,5 +1,5 @@
1
const { version } = require('../package');
2
const changelog = String(require('fs').readFileSync('CHANGELOG.md')).split('\n');
3
if (!changelog.find(line => line.startsWith('### ' + version))) {
4
- throw new Error(`The package.json version ${version} does not seem to have a matching heading in CHANGELOG.json`);
+ throw new Error(`The package.json version ${version} does not seem to have a matching heading in CHANGELOG.md`);
5
}
0 commit comments