diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-12-14 12:20:13 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-12-14 13:51:06 +0100 |
commit | ad2059878a8d6ace9669ccc5ff0a8d4e5811ad37 (patch) | |
tree | 34d88705ab22e5b54949a6ce48e028b1fc2ab7e6 /magefile.go | |
parent | 87e898a17a52b5338bc9d554dd12b99a54aa2431 (diff) | |
download | hugo-ad2059878a8d6ace9669ccc5ff0a8d4e5811ad37.tar.gz hugo-ad2059878a8d6ace9669ccc5ff0a8d4e5811ad37.zip |
Also consider wrapped errors when checking for file IsNotExist errors
Fixes #10534
Diffstat (limited to 'magefile.go')
-rw-r--r-- | magefile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/magefile.go b/magefile.go index b2dc54777..c8f2a048e 100644 --- a/magefile.go +++ b/magefile.go @@ -268,7 +268,7 @@ func Lint() error { return nil } -// Run go vet linter +// Run go vet linter func Vet() error { if err := sh.Run(goexe, "vet", "./..."); err != nil { return fmt.Errorf("error running go vet: %v", err) |