Skip to content

Commit 1cd9130

Browse files
committed
refactor: remove ls branch hl
1 parent 2d716a2 commit 1cd9130

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/commands/ls.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ export default class extends Command {
114114
? "🔒"
115115
: " " ) + " " + this.#prepareName( pkg ),
116116
"branch": status.head.branch
117-
? ( status.head.branch === "main"
118-
? status.head.branch
119-
: ansi.error( status.head.branch ) )
117+
? status.head.branch
120118
: ansi.error( status.head.abbrev ),
121119
"dirty": status.isDirty,
122120
"pushed": currentBranchPushStatus

0 commit comments

Comments
 (0)