From f61a3ef5e33dffb2d681a70875e38272263b2935 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 18 Jan 2021 21:44:27 -0500 Subject: [PATCH] Don't replace `flag:name` tag - it's expected to be in local language --- modules/validations/outdated_tags.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/validations/outdated_tags.js b/modules/validations/outdated_tags.js index 0cc130e03..f4be2e629 100644 --- a/modules/validations/outdated_tags.js +++ b/modules/validations/outdated_tags.js @@ -250,8 +250,8 @@ export function validationOutdatedTags() { // We are keeping the match at this point subtype = 'noncanonical_brand'; - // Preserve some tags values that we don't want NSI to overwrite. - const keepTags = ['takeaway', 'building'] + // Preserve some tag values that we don't want NSI to overwrite. + const keepTags = ['building', 'flag:name', 'takeaway'] .reduce((acc, k) => { if (newTags[k]) acc[k] = newTags[k]; return acc;