From 1193ee3eacc9ee7bf896a39bd6580975577196df Mon Sep 17 00:00:00 2001 From: Henry Date: Tue, 4 Jun 2024 19:46:25 +0200 Subject: [PATCH] Fixed config_path --- internal/cmd/protocgenprotolint/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")