File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,18 @@ func Run(ctx context.Context, fsys afero.Fs) error {
22
22
23
23
switch utils .OutputFormat .Value {
24
24
case utils .OutputPretty :
25
- table := `|ID|NAME|DEFAULT|GIT BRANCH|STATUS|CREATED AT (UTC)|UPDATED AT (UTC)|
26
- |-|-|-|-|-|-|-|
25
+ table := `|ID|BRANCH PROJECT ID| NAME|DEFAULT|GIT BRANCH|STATUS|CREATED AT (UTC)|UPDATED AT (UTC)|
26
+ |-|-|-|-|-|-|-|-|
27
27
`
28
28
for _ , branch := range branches {
29
29
gitBranch := " "
30
30
if branch .GitBranch != nil {
31
31
gitBranch = * branch .GitBranch
32
32
}
33
33
table += fmt .Sprintf (
34
- "|`%s`|`%s`|`%t`|`%s`|`%s`|`%s`|`%s`|\n " ,
34
+ "|`%s`|`%s`|`%s`|`% t`|`%s`|`%s`|`%s`|`%s`|\n " ,
35
35
branch .Id ,
36
+ branch .ProjectRef ,
36
37
strings .ReplaceAll (branch .Name , "|" , "\\ |" ),
37
38
branch .IsDefault ,
38
39
strings .ReplaceAll (gitBranch , "|" , "\\ |" ),
You can’t perform that action at this time.
0 commit comments