Remove a stale comment in FileTreeNode and update the arr diagram
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user