mirror of
https://github.com/anchore/syft.git
synced 2026-11-05 08:56:41 +01:00
chore(deps): update tools to latest versions (#3556)
* chore(deps): update tools to latest versions Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore: update build scripts with new architecture suffix Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> * chore: update suffix for new ppc64 arch Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> * chore(deps): update tools to latest versions Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore: lintfix Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> Co-authored-by: spiffcs <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
co-authored by
spiffcs
parent
f9ffe7252e
commit
1f4a48c3c1
@@ -501,7 +501,7 @@ func (r *Resolver) resolveParent(ctx context.Context, pom *Project, resolvingPro
|
||||
|
||||
// resolveInheritedVersion attempts to find the version of a dependency (groupID, artifactID) by searching all parent poms and imported managed dependencies
|
||||
//
|
||||
//nolint:gocognit,funlen
|
||||
//nolint:gocognit
|
||||
func (r *Resolver) resolveInheritedVersion(ctx context.Context, pom *Project, groupID, artifactID string, resolutionContext ...*Project) (string, error) {
|
||||
if pom == nil {
|
||||
return "", fmt.Errorf("nil pom provided to findInheritedVersion")
|
||||
|
||||
Reference in New Issue
Block a user