fix: dont output if no secrets
This commit is contained in:
parent
832e8e5a96
commit
0b46909961
@ -249,7 +249,12 @@ var appSecretLsCommand = &cli.Command{
|
||||
table.Append(tableRow)
|
||||
}
|
||||
|
||||
table.Render()
|
||||
if table.NumLines() > 0 {
|
||||
table.Render()
|
||||
} else {
|
||||
logrus.Warnf("no secrets stored for %s", app.Name)
|
||||
}
|
||||
|
||||
return nil
|
||||
},
|
||||
BashComplete: autocomplete.AppNameComplete,
|
||||
|
Loading…
Reference in New Issue
Block a user