Skip to content

Commit f61a3ef

Browse files
committed
Don't replace flag:name tag - it's expected to be in local language
1 parent a325535 commit f61a3ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/validations/outdated_tags.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ export function validationOutdatedTags() {
250250
// We are keeping the match at this point
251251
subtype = 'noncanonical_brand';
252252

253-
// Preserve some tags values that we don't want NSI to overwrite.
254-
const keepTags = ['takeaway', 'building']
253+
// Preserve some tag values that we don't want NSI to overwrite.
254+
const keepTags = ['building', 'flag:name', 'takeaway']
255255
.reduce((acc, k) => {
256256
if (newTags[k]) acc[k] = newTags[k];
257257
return acc;

0 commit comments

Comments
 (0)