fix: change error exit to warning when no apps exist
This was a regression introduced in 0.20.0 when the plugin was converted to golang.
This commit is contained in:
@@ -108,7 +108,8 @@ func CommandList(args []string) error {
|
||||
common.LogInfo2Quiet("My Apps")
|
||||
apps, err := common.DokkuApps()
|
||||
if err != nil {
|
||||
return err
|
||||
common.LogWarn(err.Error())
|
||||
return nil
|
||||
}
|
||||
|
||||
for _, appName := range apps {
|
||||
|
||||
Reference in New Issue
Block a user