mirror of
https://github.com/SukkaW/Surge.git
synced 2026-07-29 17:31:46 +08:00
Make ESLint Happy
This commit is contained in:
@@ -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>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user