fix: "secret insert" respects env version

This commit is contained in:
decentral1se 2024-07-17 10:08:13 +02:00
parent 9b0b3c2e4c
commit ea10019068
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -178,6 +178,9 @@ Example:
`,
Action: func(c *cli.Context) error {
app := internal.ValidateApp(c)
if err := app.Recipe.Ensure(internal.Chaos, internal.Offline); err != nil {
log.Fatal(err)
}
if len(c.Args()) != 4 {
internal.ShowSubcommandHelpAndError(c, errors.New("missing arguments?"))