make eslint happy

This commit is contained in:
Jeff Miccolis 2016-03-30 09:46:19 -04:00 committed by Patrick Niklaus
parent 08cb6d1f63
commit 70a086a9e1

View File

@ -138,13 +138,13 @@ module.exports = function () {
return instructions.legs.reduce((m, v) => m.concat(v.steps), []) return instructions.legs.reduce((m, v) => m.concat(v.steps), [])
.map(v => { .map(v => {
switch (v.maneuver.type) { switch (v.maneuver.type) {
case 'depart': case 'depart':
case 'arrive': case 'arrive':
return v.maneuver.type; return v.maneuver.type;
case 'roundabout': case 'roundabout':
return 'roundabout-exit-' + v.maneuver.exit; return 'roundabout-exit-' + v.maneuver.exit;
default: default:
return v.maneuver.modifier return v.maneuver.modifier;
} }
}) })
.join(','); .join(',');