Skip to content

Commit

Permalink
fix TODO deprecated_cycleway_shared
Browse files Browse the repository at this point in the history
  • Loading branch information
rush42 committed Oct 7, 2024
1 parent 706434e commit acfee69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions processing/topics/roads_bikelanes/bikelanes/BikelaneTodos.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ local missing_cycleway_lane = BikelaneTodo.new({
local deprecated_cycleway_shared = BikelaneTodo.new({
id = "deprecated_cycleway_shared",
desc = "The tagging `cycleway=shared` is deprecated.",
conditions = function(_, resultTags)
return resultTags.category == "needsClarification"
conditions = function(objectTags, resultTags)
return resultTags.category == "needsClarification" and objectTags.cycleway == "shared"
end
})

Expand Down

0 comments on commit acfee69

Please sign in to comment.