X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Flint-html.js;h=1f2b437c302effc58cc4de8a80d8254822bbe0d3;hb=3501e7042eeb4a104e4f001b2641d41023087b1a;hp=50abb84784ff732d266577718906fa6227dc17ce;hpb=9fc15beb6ed18e19e07ba49893ac472b411b8fb0;p=squeep-html-template-helper 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 {