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), [])
|
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(',');
|
||||||
|
Loading…
Reference in New Issue
Block a user