fix: handle recipe name passing correctly
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
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…
x
Reference in New Issue
Block a user