From 3457ae31cd6fbe34c8638ef303c79dc8a1a14060 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 1 Mar 2021 10:14:16 +0530 Subject: [PATCH] suppress warnings about data-localization keys --- scripts/unused-translations.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/unused-translations.js b/scripts/unused-translations.js index 98a57bf16..ea866b489 100644 --- a/scripts/unused-translations.js +++ b/scripts/unused-translations.js @@ -76,7 +76,8 @@ var grep = function (pattern, cb) { return void cb(err); } if (/data\-localization/.test(stdout)) { - return cb(void 0, true, "DATA_LOCALIZATION", stdout); + return cb(void 0, false); + //return cb(void 0, true, "DATA_LOCALIZATION", stdout); } if (/(Messages|Msg|messages)\./.test(stdout) || /(footLink|footerCol)/.test(stdout)) { return cb(void 0, false);