From 1dfa5aa77d428f5c4dd586eea984054ce4cdc820 Mon Sep 17 00:00:00 2001 From: Jon D Date: Thu, 25 Aug 2016 07:07:10 +0100 Subject: [PATCH] Fix comment --- modules/actions/reverse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/actions/reverse.js b/modules/actions/reverse.js index cb4697e79..b6582b18f 100644 --- a/modules/actions/reverse.js +++ b/modules/actions/reverse.js @@ -81,7 +81,7 @@ export function Reverse(wayId, options) { function reverseDirectionTags(node) { // Update the direction based tags as appropriate then return an updated node return node.update({tags: _.transform(node.tags, function(acc, tagValue, tagKey) { - // See if this is a direction tag and reverse (or use existing value if not forward/backward) + // See if this is a direction tag and reverse (or use existing value if not recognised) if (tagKey === 'direction') { acc[tagKey] = {forward: 'backward', backward: 'forward', left: 'right', right: 'left'}[tagValue] || tagValue; } else {