pacify eslint

This commit is contained in:
Bryan Housel
2019-01-29 14:04:36 -05:00
parent a2212a732b
commit 0f41913b04
+1 -1
View File
@@ -66,7 +66,7 @@ export function actionReverse(wayID, options) {
// Turn lanes are left/right to key (not way) direction - #5674
if (turn_lanes.test(key)) {
return value
return value;
} else if (key === 'incline' && numeric.test(value)) {
return value.replace(numeric, function(_, sign) { return sign === '-' ? '' : '-'; });
} else if (options && options.reverseOneway && key === 'oneway') {