Skip to content

Commit

Permalink
feat(mggolangcilint): --fix issues
Browse files Browse the repository at this point in the history
Fixes formatting and imports automatically.
  • Loading branch information
odsod committed Jan 5, 2022
1 parent 9dcf9e8 commit f27c4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion targets/mggolangcilint/targets.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func GolangciLint(ctx context.Context) error {
return err
}
}
return sh.RunV(executable, "run", "-c", configPath)
return sh.RunV(executable, "run", "-c", configPath, "--fix")
}

func prepare(ctx context.Context) error {
Expand Down

0 comments on commit f27c4e5

Please sign in to comment.