fix: respect --type/-t logic for app listing
Reverts c27376c89b
. Woops.
This commit is contained in:
parent
145e6326c9
commit
fae5a87ce2
@ -64,7 +64,10 @@ var appListCommand = &cli.Command{
|
||||
table := createTable(tableCol)
|
||||
table.SetAutoMergeCellsByColumnIndex([]int{0})
|
||||
for _, app := range apps {
|
||||
table.Append([]string{app.File.Server, app.Type, app.Domain})
|
||||
if app.Type == Type || Type == "" {
|
||||
// If type flag is set, check for it, if not, Type == ""
|
||||
table.Append([]string{app.File.Server, app.Type, app.Domain})
|
||||
}
|
||||
}
|
||||
table.Render()
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user