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:
Jose Diaz-Gonzalez
2020-04-02 13:05:23 -04:00
parent ea1316fdfc
commit 72a4637beb
2 changed files with 28 additions and 1 deletions

View File

@@ -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 {