mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Fix error message for go vet
This commit is contained in:
parent
ea8ef573c6
commit
47d4edce60
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ func Lint() error {
|
||||||
// Run go vet linter
|
// Run go vet linter
|
||||||
func Vet() error {
|
func Vet() error {
|
||||||
if err := sh.Run(goexe, "vet", "./..."); err != nil {
|
if err := sh.Run(goexe, "vet", "./..."); err != nil {
|
||||||
return fmt.Errorf("error running govendor: %v", err)
|
return fmt.Errorf("error running go vet: %v", err)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue