remove bin link

This commit is contained in:
OpportunityLiu
2020-03-31 19:08:21 +08:00
Unverified
parent 2836246660
commit 19f24a28c9
144 changed files with 12197 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
const Range = require('../classes/range')
const validRange = (range, options) => {
try {
// Return '*' instead of '' so that truthiness works.
// This will throw if it's invalid anyway
return new Range(range, options).range || '*'
} catch (er) {
return null
}
}
module.exports = validRange