Skip to content

Commit

Permalink
fix attribute filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek Bindra committed Oct 28, 2024
1 parent 18727aa commit 0a2446b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/utils/get-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function countSort(a, b) {
function filterAttributes(at) {
return (
!ignoredAttributes.includes(at.name) &&
/data-percy-/.test(at.name) &&
!/data-percy-/.test(at.name) &&
at.name.indexOf(':') === -1 &&
(!at.value || at.value.length < MAXATTRIBUTELENGTH)
);
Expand Down

0 comments on commit 0a2446b

Please sign in to comment.