Remove a stale comment in FileTreeNode and update the arr diagram

This commit is contained in:
Djeex
2026-09-04 14:36:00 +02:00
parent a8b9f8f5db
commit b8fbab8a18
2 changed files with 2 additions and 5 deletions
-3
View File
@@ -14,9 +14,6 @@ const props = withDefaults(defineProps<{
isLast: false, isLast: false,
}) })
// Splits a trailing " # comment" off a raw label (space-prefixed, like a
// real code comment), so authors can annotate a tree entry the same way
// they'd annotate a line of code.
function splitComment(raw: string) { function splitComment(raw: string) {
const index = raw.indexOf(' #') const index = raw.indexOf(' #')
if (index === -1) return { text: raw, comment: undefined as string | undefined } if (index === -1) return { text: raw, comment: undefined as string | undefined }
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 82 KiB