From c7fb39b664bc0a7eaf310c2ae7666e3cf26824bf Mon Sep 17 00:00:00 2001 From: Justin Wind Date: Fri, 8 Mar 2024 12:23:31 -0800 Subject: [PATCH] fix lint bug --- test/lint-html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lint-html.js b/test/lint-html.js index 50abb84..1f2b437 100644 --- a/test/lint-html.js +++ b/test/lint-html.js @@ -22,7 +22,7 @@ function makeHtmlLint(logger, htmlValidate) { const report = await htmlValidate.validateString(html); report.results.forEach((r) => { if (Array.isArray(r)) { - result.forEach((m) => { + r.forEach((m) => { note(violations, m); }); } else { -- 2.45.2