Skip to content
This repository was archived by the owner on Sep 24, 2020. It is now read-only.

Commit 0e4873e

Browse files
committed
thank you @sheremetat
resolve #2
1 parent 9c46849 commit 0e4873e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func loadConfig() config {
8181
func execGolangCILint(cfg config) (int, []annotation, error) {
8282
args := []string{"run"}
8383
if cfg.config != "" {
84-
args = append(args, cfg.config)
84+
args = append(args, "--config", cfg.config)
8585
}
8686
args = append(args, "--out-format", "json")
8787

0 commit comments

Comments
 (0)