From 54458f143881247082c14d074414012546a6d19e Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 23 Oct 2017 14:02:58 +0100 Subject: [PATCH] Actually even out brackets --- scripts/gen-i18n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen-i18n.js b/scripts/gen-i18n.js index ff5b14f593..d58bce2e63 100755 --- a/scripts/gen-i18n.js +++ b/scripts/gen-i18n.js @@ -85,7 +85,7 @@ function getFormatStrings(str) { const formatStrings = new Set(); let match; - while ( (match = formatStringRe.exec(str) ) !== null) { + while ( (match = formatStringRe.exec(str)) !== null ) { const placeholder = match[1]; // Minus the leading '%' if (placeholder === '%') continue; // Literal % is %%