Skip to content

Commit

Permalink
chore: remove unnecessary code block
Browse files Browse the repository at this point in the history
  • Loading branch information
amedumer committed Nov 14, 2023
1 parent 16f6af9 commit e774caa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tools/confix/cmd/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e774caa

Please sign in to comment.