We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0c02f8 commit a9c8effCopy full SHA for a9c8eff
index.js
@@ -144,7 +144,7 @@ module.exports = function(version, _options) {
144
// the ref should be used instead of the name.
145
var wayMotorway = false;
146
if (options && options.classes) {
147
- wayMotorway = options.classes.some((className) => ['motorway'].indexOf(className) > -1);
+ wayMotorway = options.classes.indexOf('motorway') !== -1;
148
}
149
150
if (name && ref && name !== ref && !wayMotorway) {
0 commit comments