src/lib/output/HtmlBuilder.ts
Consider simplifying this complex logical expression. Open
Open
if ((fileName === 'README.md' || fileName.indexOf('.md') === -1)
&& (fileName === 'README.adoc' || fileName.indexOf('.adoc') === -1)
&& (fileName === 'README.asciidoc' || fileName.indexOf('.asciidoc') === -1)) {
return
}