From e07792263ed5db0f86362cb00547b7de041abb42 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 6 Aug 2021 15:32:55 +0100 Subject: [PATCH] Adding a case for Firefox undefined bindings when checking validity. --- packages/string-templates/src/index.cjs | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/string-templates/src/index.cjs b/packages/string-templates/src/index.cjs index 573ea76f12..05f8c69f5a 100644 --- a/packages/string-templates/src/index.cjs +++ b/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 '`]