Skip to content

Commit

Permalink
Don't replace flag:name tag - it's expected to be in local language
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Jan 19, 2021
1 parent a325535 commit f61a3ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/validations/outdated_tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f61a3ef

Please sign in to comment.