Skip to content

Commit

Permalink
unused error in catch
Browse files Browse the repository at this point in the history
  • Loading branch information
gaiety-deque committed Jun 6, 2024
1 parent d2b9688 commit ef27912
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rules/svg-namespace-matches.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ function svgNamespaceMatches(node, virtualNode) {
// element is svg namespace if its parent is an svg element
return !!closest(virtualNode, 'svg');
} catch (e) {
console.debug(e);
return false;
}
}
Expand Down

0 comments on commit ef27912

Please sign in to comment.