From 5afba2c39456d11ea0bc5eb9e3e540aa9b62d913 Mon Sep 17 00:00:00 2001
From: mike12345567 <me@michaeldrury.co.uk>
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 '`]