Skip to content

Commit

Permalink
Merge branch 'main' into setup-py
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre authored Dec 16, 2021
2 parents f6a00a5 + a876fca commit 5ee34c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gazelle/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ func (py *Configurer) loadGazelleManifest(gazelleManifestPath string) (*manifest
if os.IsNotExist(err) {
return nil, nil
}
return nil, fmt.Errorf("failed to load Gazelle manifest: %w", err)
return nil, fmt.Errorf("failed to load Gazelle manifest at %q: %w", gazelleManifestPath, err)
}
manifestFile := new(manifest.File)
if err := manifestFile.Decode(gazelleManifestPath); err != nil {
return nil, fmt.Errorf("failed to load Gazelle manifest: %w", err)
return nil, fmt.Errorf("failed to load Gazelle manifest at %q: %w", gazelleManifestPath, err)
}
return manifestFile.Manifest, nil
}

0 comments on commit 5ee34c7

Please sign in to comment.