Don't replace flag:name tag - it's expected to be in local language

This commit is contained in:
Bryan Housel
2021-01-18 21:44:27 -05:00
parent a32553595c
commit f61a3ef5e3
+2 -2
View File
@@ -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;