Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
  • Loading branch information
saschagrunert committed Jul 26, 2022
1 parent 1f92a1f commit 89ad0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mage/golang.go
Expand Up @@ -46,7 +46,7 @@ const (

// Ensure golangci-lint is installed and on the PATH.
func EnsureGolangCILint(version string, forceInstall bool) error {
found, err := pkg.IsCommandAvailable(golangciCmd, version)
found, err := pkg.IsCommandAvailable(golangciCmd, "--version", version)
if err != nil {
return fmt.Errorf(
"checking if %s is available: %w",
Expand Down

0 comments on commit 89ad0c7

Please sign in to comment.