From e774caa07d60b6b54a930382bfa2da25bf11bbe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20O=CC=88mer=20Kayabas=CC=A7=C4=B1?= Date: Tue, 14 Nov 2023 13:57:51 +0000 Subject: [PATCH] chore: remove unnecessary code block --- tools/confix/cmd/migrate.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/confix/cmd/migrate.go b/tools/confix/cmd/migrate.go index 7a902cd88caa..f81a87ca8158 100644 --- a/tools/confix/cmd/migrate.go +++ b/tools/confix/cmd/migrate.go @@ -55,12 +55,6 @@ In case of any error in updating the file, no output is written.`, return errors.New("must provide a path to the config file") } - if len(args) > 2 { - configType = strings.ToLower(args[2]) - if configType != AppConfigType && configType != ClientConfigType { - return errors.New("config type must be 'app' or 'client'") - } - } plan, ok := confix.Migrations[targetVersion] if !ok {