From: Justin Wind Date: Fri, 8 Mar 2024 20:23:31 +0000 (-0800) Subject: fix lint bug X-Git-Tag: v1.5.1~1 X-Git-Url: http://git.squeep.com/?p=squeep-html-template-helper;a=commitdiff_plain;h=c7fb39b664bc0a7eaf310c2ae7666e3cf26824bf fix lint bug --- 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 {