Skip to content

Commit 452db73

Browse files
authored
Merge pull request rust-lang#326 from TomasHubelbauer/patch-1
Fix a typo in the version check error message
2 parents 6d2e40b + 2787916 commit 452db73

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)