run golangci-lint run --fix --fast (#6270)

This commit is contained in:
Mohammed Al Sahaf 2024-04-25 00:17:23 +03:00 committed by GitHub
parent 76c4cf5a56
commit c6eb186064
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -395,7 +395,6 @@ func (p *parser) doImport(nesting int) error {
return p.Errf("Glob pattern may only contain one wildcard (*), but has others: %s", globPattern)
}
matches, err = filepath.Glob(globPattern)
if err != nil {
return p.Errf("Failed to use import pattern %s: %v", importPattern, err)
}