mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 05:35:05 +08:00
added -2 to the list of allowed quotelengths
This commit is contained in:
parent
0668a8cfdc
commit
725e51e9a5
1 changed files with 1 additions and 1 deletions
|
@ -1092,7 +1092,7 @@ export function setQuoteLength(
|
|||
nosave?: boolean,
|
||||
multipleMode?: boolean
|
||||
): void {
|
||||
if (!isConfigValueValid(len, [[-1, 0, 1, 2, 3], "numberArray"]))
|
||||
if (!isConfigValueValid(len, [[-2, -1, 0, 1, 2, 3], "numberArray"]))
|
||||
return invalid("quote length", len);
|
||||
|
||||
if (Array.isArray(len)) {
|
||||
|
|
Loading…
Reference in a new issue