fix error message
This commit is contained in:
1 parent
00547dba33
commit
10e52ace5d
1 file changed
+1
-1
+1
-1
@@ -93,7 +93,7 @@ function walk(chosen, rest, spellings) {
|
|||||||
*/
|
*/
|
||||||
function arrangements(items) {
|
function arrangements(items) {
|
||||||
if (items.length >= 5) {
|
if (items.length >= 5) {
|
||||||
throw new Error(`Too many items for arrangement: ${items.length}`);
|
throw new Error(`Too many items for arrangements: ${items.length}`);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @type {RuleOrLiteral[]}
|
* @type {RuleOrLiteral[]}
|
||||||
|
|||||||
Reference in new issue
Block a user