Skip to content

Commit

Permalink
fix pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
beyondkmp committed Sep 20, 2024
1 parent ce2bcbe commit d4a2ae7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/node-modules/nodeModuleCollector.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ func (t *Collector) writeToParentConflicDependency(d *Dependency) {
p := d.parent
last := d
for p != t.rootDependency {
if t.HoiestedDependencyMap[p.alias] != nil {
last = p
break
}

if p.conflictDependency != nil {
if c, ok := p.conflictDependency[d.alias]; ok {
if c.Version == d.Version {
Expand Down

0 comments on commit d4a2ae7

Please sign in to comment.