Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f5aeae30c7 |
@ -72,14 +72,6 @@ var AppNewCommand = &cobra.Command{
|
|||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
recipe := internal.ValidateRecipe(args, cmd.Name())
|
recipe := internal.ValidateRecipe(args, cmd.Name())
|
||||||
|
|
||||||
if err := recipe.EnsureUpToDate(); err != nil {
|
|
||||||
log.Warnf(
|
|
||||||
"failed to ensure repo is up to date for recipe: %s err: %s",
|
|
||||||
recipe.Name,
|
|
||||||
err,
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
if len(args) == 2 && internal.Chaos {
|
if len(args) == 2 && internal.Chaos {
|
||||||
log.Fatal(i18n.G("cannot use [version] and --chaos together"))
|
log.Fatal(i18n.G("cannot use [version] and --chaos together"))
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user