Add missing quote in logged error
This commit is contained in:
parent
54ad6da1af
commit
e4f5241058
1 changed files with 1 additions and 1 deletions
|
@ -3762,7 +3762,7 @@ for (let name of ['type', 'text', 'comment', 'color', 'pageLabel', 'sortIndex',
|
|||
|
||||
case 'sortIndex':
|
||||
if (!/^\d{5}\|\d{6}\|\d{5}$/.test(value)) {
|
||||
throw new Error(`Invalid sortIndex '${value}`);
|
||||
throw new Error(`Invalid sortIndex '${value}'`);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue