Skip to content

Commit 32ed78e

Browse files
committed
fix(Folder#inspect): Make hash visible again
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 884f05c commit 32ed78e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/Tree.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,8 @@ export class Folder<L extends TItemLocation> {
470470
Array(depth < 0 ? 0 : depth)
471471
.fill(' ')
472472
.join('') +
473-
`+ #${this.id}[${this.title}] parentId: ${this.parentId}, hash: ${this
474-
.hashValue[String(true)] || this.hashValue[String(false)]}\n` +
473+
`+ #${this.id}[${this.title}] parentId: ${this.parentId}, hash: ${Object.values(this
474+
.hashValue)[0]}\n` +
475475
this.children
476476
.map(child =>
477477
child && child.inspect ? child.inspect(depth + 1) : String(child)

0 commit comments

Comments
 (0)