diff options
Diffstat (limited to 'node_modules/svgo/plugins/removeUselessStrokeAndFill.js')
| -rw-r--r-- | node_modules/svgo/plugins/removeUselessStrokeAndFill.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/svgo/plugins/removeUselessStrokeAndFill.js b/node_modules/svgo/plugins/removeUselessStrokeAndFill.js index f5f99855..95193fa6 100644 --- a/node_modules/svgo/plugins/removeUselessStrokeAndFill.js +++ b/node_modules/svgo/plugins/removeUselessStrokeAndFill.js @@ -46,7 +46,7 @@ exports.fn = (root, params) => { if (node.attributes.id != null) { return visitSkip; } - if (elemsGroups.shape.includes(node.name) == false) { + if (!elemsGroups.shape.has(node.name)) { return; } const computedStyle = computeStyle(stylesheet, node); |
