Skip to content

Commit 9d0df91

Browse files
committed
refactor: update ls report
1 parent e3c6569 commit 9d0df91

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/commands/ls.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default class extends Command {
5959

6060
const table = new Table( {
6161
"columns": {
62-
"name": { "title": ansi.hl( "PACKAGE" ), "headerAlign": "center", "headerValign": "end" },
62+
"packageName": { "title": ansi.hl( "PACKAGE NAME" ), "headerAlign": "center", "headerValign": "end" },
6363
"branch": { "title": ansi.hl( "BRANCH" ), "width": 15, "headerAlign": "center", "headerValign": "end" },
6464
"dirty": { "title": ansi.hl( "IS\nDIRTY" ), "width": 7, "align": "center", "format": value => ( value
6565
? ansi.error( " DIRTY " )
@@ -110,7 +110,7 @@ export default class extends Command {
110110
if ( options.dirty && !isDirty ) continue;
111111

112112
table.write( {
113-
"name": ( pkg.isPrivate
113+
"packageName": ( pkg.isPrivate
114114
? "🔒"
115115
: " " ) + " " + this.#prepareName( pkg ),
116116
"branch": status.head.branch

0 commit comments

Comments
 (0)