Skip to content

Commit

Permalink
chore: remove unneeded code block
Browse files Browse the repository at this point in the history
  • Loading branch information
jahzielv committed Jan 10, 2025
1 parent e8916e6 commit 073d0bc
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pkg/file/xar.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,20 +389,6 @@ out:
}
}

if identifier == "" {
for _, pkg := range d.PkgRefs {
if pkg.PackageIdentifier != "" {
identifier = pkg.PackageIdentifier
break
}

if pkg.ID != "" {
identifier = pkg.ID
break
}
}
}

// if the identifier is still empty, try to use the product id
if identifier == "" && d.Product.ID != "" {
identifier = d.Product.ID
Expand Down

0 comments on commit 073d0bc

Please sign in to comment.