Skip to content

Commit

Permalink
fix cr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
asafambar committed May 21, 2024
1 parent 60d2d82 commit 64ac982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/curation/curationaudit.go
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ func getMavenNameScopeAndVersion(id, artiUrl, repo string, node *xrayUtils.Graph
}
nameVersion := allParts[1] + "-" + allParts[2]
versionDir := allParts[2]
if node.Classifier != nil && *node.Classifier != "" {
if node != nil && node.Classifier != nil && *node.Classifier != "" {
versionDir = strings.TrimSuffix(versionDir, "-"+*node.Classifier)
}
packagePath := strings.Join(strings.Split(allParts[0], "."), "/") + "/" +
Expand Down

0 comments on commit 64ac982

Please sign in to comment.