Skip to content

Commit

Permalink
chore: apply automated lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Aug 10, 2023
1 parent ca352b3 commit 9fd88f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function main() {
consola.tree([
{
text: "format",
color: "red"
color: "red",
},
{
text: "consola",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function buildTree(items: TreeItem[], options?: TreeOptions): string {
if (item.children) {
const tree = buildTree(item.children, {
...options,
prefix: `${options?.prefix}${isLast ? ' ' : ''}`,
prefix: `${options?.prefix}${isLast ? " " : ""}`,
});

logs += tree;
Expand Down

0 comments on commit 9fd88f7

Please sign in to comment.