Sign in
apache
/
airflow-JamesIves-github-pages-deploy-action
/
refs/tags/3.7.0
/
.
/
node_modules
/
@typescript-eslint
/
eslint-plugin
/
node_modules
/
semver
/
functions
/
clean.js
blob: 811fe6b82cb73eeace0db4ecdcddcbc22bc02d5c [
file
] [
log
] [
blame
]
const
parse
=
require
(
'./parse'
)
const
clean
=
(
version
,
options
)
=>
{
const
s
=
parse
(
version
.
trim
().
replace
(
/^[=v]+/
,
''
),
options
)
return
s
?
s
.
version
:
null
}
module
.
exports
=
clean