fix: properly handle NoAppsExist in network:rebuild-all and buildpacks:set

Refs #6815
This commit is contained in:
Jose Diaz-Gonzalez
2025-03-08 23:49:11 -05:00
parent 4ffbd357ee
commit b4f3741ac7
2 changed files with 5 additions and 1 deletions

View File

@@ -145,6 +145,10 @@ func CommandList(format string) error {
func CommandRebuildall() error {
apps, err := common.DokkuApps()
if err != nil {
if errors.Is(err, common.NoAppsExist) {
common.LogWarn(err.Error())
return nil
}
return err
}