fix: handle recipe name passing correctly
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
Closes coop-cloud/organising#224.
This commit is contained in:
parent
7022f42711
commit
f833ccb864
|
@ -51,7 +51,9 @@ func ValidateRecipeWithPrompt(c *cli.Context) recipe.Recipe {
|
|||
if err := survey.AskOne(prompt, &recipeName); err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
} else {
|
||||
}
|
||||
|
||||
if recipeName == "" {
|
||||
ShowSubcommandHelpAndError(c, errors.New("no recipe provided"))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue