diff --git a/internal/cmd/protocgenprotolint/cmd.go b/internal/cmd/protocgenprotolint/cmd.go index 63b12418..5d21fb6b 100644 --- a/internal/cmd/protocgenprotolint/cmd.go +++ b/internal/cmd/protocgenprotolint/cmd.go @@ -123,7 +123,7 @@ func newFlags( if len(params) != 2 { return nil, fmt.Errorf("config_path should be specified") } - flags.ConfigDirPath = params[1] + flags.ConfigPath = params[1] case "config_dir_path": if len(params) != 2 { return nil, fmt.Errorf("config_dir_path should be specified")