From 472ee2e191b037737b63d1f68af57d67d465fba4 Mon Sep 17 00:00:00 2001 From: Herpiko Dwi Aguno Date: Fri, 16 Jul 2021 19:03:47 +0000 Subject: [PATCH] #139 --ignore-checks should be only works in --experimental. --- cmd/cli/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cli/main.go b/cmd/cli/main.go index 6f6da25..c90aa43 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -190,7 +190,7 @@ func main() { }, Action: func(ctx *cli.Context) (err error) { - ignoreChecks := ctx.Bool("ignore-checks") + ignoreChecks := ctx.Bool("ignore-checks") && ctx.Bool("experimental") err = checkForInitValues() if err != nil {