Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 19, 2024
1 parent 17d43d6 commit 406fdeb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/utils/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ function _buildTree(items: TreeItem[], options?: TreeOptions): string[] {
return [
isItemString
? ellipsis
: item.color
:
(item.color
? colorize(item.color, ellipsis)
: ellipsis,
: ellipsis), // prettier-ignore
];
}
const isLast = i === total;
Expand Down

0 comments on commit 406fdeb

Please sign in to comment.