fix(core): Remove unneeded warning
This commit is contained in:
parent
706e27945d
commit
7ec07d9db2
1 changed files with 1 additions and 3 deletions
|
@ -141,10 +141,8 @@ function snappedOption(option, pattern) {
|
|||
snap,
|
||||
}
|
||||
}))
|
||||
if (abs < snap.max && abs >= snap.min) return snap.snap
|
||||
if (abs <= snap.max && abs >= snap.min) return snap.snap
|
||||
}
|
||||
// If we end up here, the snap config is wrong
|
||||
pattern.raise.warning(`Invalid snap config for option ${option}`)
|
||||
|
||||
return abs
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue