This commit is contained in:
6
vscode-server-linux-x64-web/node_modules/semver/functions/clean.js
generated
vendored
Normal file
6
vscode-server-linux-x64-web/node_modules/semver/functions/clean.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
const parse = require('./parse')
|
||||
const clean = (version, options) => {
|
||||
const s = parse(version.trim().replace(/^[=v]+/, ''), options)
|
||||
return s ? s.version : null
|
||||
}
|
||||
module.exports = clean
|
Reference in New Issue
Block a user