Skip to content

Commit

Permalink
feat: add support for Package.resolved version 3 (#1108)
Browse files Browse the repository at this point in the history
Addresses
#1059.
  • Loading branch information
jpsim authored Jun 17, 2024
1 parent a6031d7 commit 896f5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gazelle/internal/spreso/pin.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func NewPinsFromResolvedPackageJSON(b []byte) ([]*Pin, error) {
return nil, err
}
return NewPinsFromV1PinStore(&v1ps)
case 2:
case 2, 3:
var v2ps V2PinStore
if err := json.Unmarshal(b, &v2ps); err != nil {
return nil, err
Expand Down

0 comments on commit 896f5c8

Please sign in to comment.