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), [])
.map(v => {
switch (v.maneuver.type) {
case 'depart':
case 'arrive':
return v.maneuver.type;
case 'roundabout':
return 'roundabout-exit-' + v.maneuver.exit;
default:
return v.maneuver.modifier
case 'depart':
case 'arrive':
return v.maneuver.type;
case 'roundabout':
return 'roundabout-exit-' + v.maneuver.exit;
default:
return v.maneuver.modifier;
}
})
.join(',');