make eslint happy
This commit is contained in:
parent
08cb6d1f63
commit
70a086a9e1
@ -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(',');
|
||||
|
Loading…
Reference in New Issue
Block a user