Skip to content

Commit e6e9078

Browse files
committed
refactor: update ls report
1 parent 1d3d30f commit e6e9078

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

lib/commands/ls.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,9 @@ export default class extends Command {
110110
if ( options.dirty && !isDirty ) continue;
111111

112112
table.add( {
113-
"name": ( pkg.isReleaseEnabled
114-
? ansi.ok( "R" )
115-
: ansi.error( "R" ) ) + ( pkg.isPrivate
116-
? ansi.error( "P" )
117-
: ansi.ok( "P" ) ) + " " + this.#prepareName( pkg ),
113+
"name": ( pkg.isPrivate
114+
? "🔒"
115+
: " " ) + " " + this.#prepareName( pkg ),
118116
"branch": status.head.branch
119117
? ( status.head.branch === "main"
120118
? status.head.branch

0 commit comments

Comments
 (0)