Skip to content

Commit 32c3b75

Browse files
committed
fix: print the ls output to stdout
Signed-off-by: chlins <chlins.zhang@gmail.com>
1 parent bf0c4a4 commit 32c3b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func runList(ctx context.Context) error {
6363
return err
6464
}
6565

66-
tw := tabwriter.NewWriter(os.Stderr, 0, 0, 4, ' ', 0)
66+
tw := tabwriter.NewWriter(os.Stdout, 0, 0, 4, ' ', 0)
6767
defer tw.Flush()
6868
fmt.Fprintln(tw, "REPOSITORY\tTAG\tDIGEST\tCREATED\tSIZE")
6969

0 commit comments

Comments
 (0)