Adding a case for Firefox undefined bindings when checking validity.

This commit is contained in:
mike12345567 2021-08-06 15:32:55 +01:00
parent 4b7debc8a9
commit e07792263e
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ module.exports.isValid = string => {
"object", "object",
"array", "array",
"cannot read property", "cannot read property",
"undefined",
] ]
// this is a portion of a specific string always output by handlebars in the case of a syntax error // this is a portion of a specific string always output by handlebars in the case of a syntax error
const invalidCases = [`expecting '`] const invalidCases = [`expecting '`]