Skip to content

Commit 2787916

Browse files
Fix a typo in the version check error message
1 parent 6d2e40b commit 2787916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/check-version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { version } = require('../package');
22
const changelog = String(require('fs').readFileSync('CHANGELOG.md')).split('\n');
33
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`);
4+
throw new Error(`The package.json version ${version} does not seem to have a matching heading in CHANGELOG.md`);
55
}

0 commit comments

Comments
 (0)