Add missing quote in logged error

This commit is contained in:
Dan Stillman 2022-02-05 03:17:23 -05:00
parent 54ad6da1af
commit e4f5241058

View file

@ -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;