Closed gemal closed 3 weeks ago
Agree it would be nice to get rid of that message in the logs.
btw, for others that might run into this, here is the workaround I used:
{
console.info = function () { }
const reportHTML = createHtmlReport({
results: AxeResults,
options: {
doNotCreateReportFile: true,
}
});
}
This removes the console.info
function within a subblock just for the reporter. (createHtmlReport
is using console.info
rather than console.log
)
@mike-potter and @gemal,
Thanks for the suggestion and sorry for the trouble.
Addressed requested message removal in new release https://github.com/lpelypenko/axe-html-reporter/releases/tag/v2.2.10. Closing request.
would be nice to be able to turn off this:
Report file will not be created because user passed options.doNotCreateReportFile = true. Use HTML output of the function to create report file
do you accept pull requests?