From 30b004ba1f9fde7dc064a10bcbdf596a75df42c6 Mon Sep 17 00:00:00 2001 From: Michael Drury Date: Tue, 2 Feb 2021 20:29:10 +0000 Subject: [PATCH] Linting. --- packages/string-templates/src/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/string-templates/src/index.js b/packages/string-templates/src/index.js index f3156c45d7..9cedcde061 100644 --- a/packages/string-templates/src/index.js +++ b/packages/string-templates/src/index.js @@ -118,7 +118,9 @@ module.exports.isValid = string => { return true } catch (err) { const msg = err ? err.message : "" - const foundCase = specialCases.find(spCase => msg.toLowerCase().includes(spCase)) + const foundCase = specialCases.find(spCase => + msg.toLowerCase().includes(spCase) + ) // special case for maths functions - don't have inputs yet return !!foundCase }