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.
1 parent 3ea9bf0 commit 590f312Copy full SHA for 590f312
scripts/helpers/changeloglink.js
@@ -5,8 +5,9 @@ const semver = require('semver')
5
module.exports = function (version) {
6
if (!version) { return '' }
7
8
- if (semver.satisfies(version, '>= 1.0.0'))
+ if (semver.satisfies(version, '>= 1.0.0')) {
9
return `https://github.com/nodejs/node/blob/${version}/CHANGELOG.md`
10
+ }
11
12
return `https://github.com/nodejs/node-v0.x-archive/blob/${version}/ChangeLog`
13
}
0 commit comments