Skip to content

Commit 2c614a7

Browse files
committed
Merge branch 'master' of github.com:projectlint/plugin-Node.js
2 parents 07bdbe5 + 69ba37d commit 2c614a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/rules/version.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ const nv = require('@pkgjs/nv')
44
exports.fetch = function({config})
55
{
66
return nv(process.version, config)
7+
.then(function(versions)
8+
{
9+
return versions[0]
10+
})
711
}
812

913

0 commit comments

Comments
 (0)