Skip to content

Commit

Permalink
normalize text before filtering (#1694)
Browse files Browse the repository at this point in the history
  • Loading branch information
deniak authored Jan 16, 2023
1 parent e1c1971 commit a7237c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/sotd/stability.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function check(sr, done) {
) {
const review = Array.prototype.find.call(
sw.querySelectorAll('a'),
ele => ele.textContent === 'wide review'
ele => sr.norm(ele.textContent) === 'wide review'
);
if (!review) sr.error(self, 'no-cr-review');
else if (
Expand Down

0 comments on commit a7237c4

Please sign in to comment.