Remove support for */TUE

This commit is contained in:
Jacob Wallraff
2023-01-10 11:54:41 -08:00
parent 92db0c1af7
commit f877c22e9c
2 changed files with 4 additions and 3 deletions
@@ -76,8 +76,8 @@ function validateRange(
}
const [start, step, ...rest] = value.split("/")
const stepNumber = convertToNumber(range, step)
if (rest.length > 0 || stepNumber <= 0 || !start || !step) {
const stepNumber = +step
if (rest.length > 0 || isNaN(stepNumber) || stepNumber <= 0 || !start || !step) {
return false
}