Skip to content

Commit

Permalink
Remove redundant arg validation in generateYamlConfigIfNone
Browse files Browse the repository at this point in the history
  • Loading branch information
milogreg committed Jan 8, 2025
1 parent f2c7416 commit 00815e5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions go/cmd/dolt/commands/sqlserver/sqlserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,10 +527,6 @@ func generateYamlConfigIfNone(
const yamlConfigName = "config.yaml"

apr := cli.ParseArgsOrDie(ap, args, help)
if err := validateSqlServerArgs(apr); err != nil {
cli.PrintErrln(color.RedString(err.Error()))
return err
}

if apr.Contains(configFileFlag) {
return nil
Expand Down

0 comments on commit 00815e5

Please sign in to comment.