Skip to content

Commit 590f312

Browse files
committed
Fix lint issue in changeloglink.js.
Introduced in 2252323.
1 parent 3ea9bf0 commit 590f312

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/helpers/changeloglink.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ const semver = require('semver')
55
module.exports = function (version) {
66
if (!version) { return '' }
77

8-
if (semver.satisfies(version, '>= 1.0.0'))
8+
if (semver.satisfies(version, '>= 1.0.0')) {
99
return `https://github.com/nodejs/node/blob/${version}/CHANGELOG.md`
10+
}
1011

1112
return `https://github.com/nodejs/node-v0.x-archive/blob/${version}/ChangeLog`
1213
}

0 commit comments

Comments
 (0)