fix: handle more appropriately
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
cellarspoon 2021-12-22 01:18:16 +01:00
parent 74f688350b
commit ef4383209e
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 4 additions and 3 deletions

View File

@ -93,7 +93,8 @@ recipes.
}
if len(availableDowngrades) == 0 {
logrus.Fatal("no available downgrades, you're on latest")
logrus.Info("no available downgrades, you're on oldest ✌️")
return nil
}
}

View File

@ -101,8 +101,8 @@ recipes.
}
if len(availableUpgrades) == 0 && !internal.Force {
logrus.Fatal("no available upgrades, you're on latest")
availableUpgrades = versions
logrus.Info("no available upgrades, you're on latest ✌️")
return nil
}
}