Make ESLint Happy
Some checks failed
Build / Build (push) Has been cancelled
Build / Diff output (push) Has been cancelled
Build / Deploy (3.114.12) (push) Has been cancelled

This commit is contained in:
SukkaW
2026-06-30 16:07:44 +08:00
parent d472b9f79a
commit f1054035f7
14 changed files with 30 additions and 31 deletions

View File

@@ -129,7 +129,7 @@ function treeHtml(tree: TreeTypeArray, level = 0, closedFolderList: string[] = [
</details>
</li>
`;
} else if (/* entry.type === 'file' && */ !entry.name.endsWith('.html') && !entry.name.startsWith('_')) {
} else if (/* entry.type === 'file' && */ !entry.name.endsWith('.html') && entry.name[0] !== '_') {
result += html`
<li class="file"><a class="file-link" href="${entry.path}">${entry.name}</a></li>
`;