end range seems to be non inclusive

This commit is contained in:
Miodec 2022-10-05 12:09:55 +02:00
parent 84bed4210a
commit f0b80ff967

View file

@ -77,7 +77,7 @@ const CONFIG_SCHEMA = joi.object({
playSoundOnError: joi.boolean(),
playSoundOnClick: joi
.string()
.valid("off", ..._.range(1, 11).map(_.toString)),
.valid("off", ..._.range(1, 12).map(_.toString)),
soundVolume: joi.string().valid("0.1", "0.5", "1.0"),
startGraphsAtZero: joi.boolean(),
showOutOfFocusWarning: joi.boolean(),