From b3aca211d6e35c2753bd3c35f56685fb2ed4b053 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Thu, 31 Mar 2016 22:03:31 +0200 Subject: [PATCH] Remove arrive filter --- features/support/route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/support/route.js b/features/support/route.js index 1a351c985..7c208ff0b 100644 --- a/features/support/route.js +++ b/features/support/route.js @@ -122,7 +122,6 @@ module.exports = function () { postfix = postfix || null; if (instructions) { return instructions.legs.reduce((m, v) => m.concat(v.steps), []) - .filter(v => v.maneuver.type !== 'arrive') .map(keyFinder) .join(','); } @@ -145,6 +144,7 @@ module.exports = function () { return v.maneuver.type; case 'roundabout': return 'roundabout-exit-' + v.maneuver.exit; + // FIXME this is a little bit over-simplistic for merge/fork instructions default: return v.maneuver.modifier; }