Browse Source

Adding a case for Firefox undefined bindings when checking validity.

pull/2335/head
mike12345567 5 years ago
parent
commit
e07792263e
  1. 1
      packages/string-templates/src/index.cjs

1
packages/string-templates/src/index.cjs

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

Loading…
Cancel
Save