mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-11-29 02:45:23 +01:00
4 lines
122 B
JavaScript
4 lines
122 B
JavaScript
|
const SemVer = require('../classes/semver')
|
||
|
const major = (a, loose) => new SemVer(a, loose).major
|
||
|
module.exports = major
|