Skip to content

Commit

Permalink
refactor: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Feb 1, 2024
1 parent 1cafe6e commit bf6b8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/nodejs/pnpm/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (p *Parser) parse(lockVer float64, lockFile LockFile) ([]types.Library, []t
continue
}

// There is cases when `depPath` doesn't contain name ad version of dependency
// Dependency name may be present in dependencyPath or Name field. Same for Version.
// e.g. packages installed from local directory or tarball
// cf. https://github.com/pnpm/spec/blob/274ff02de23376ad59773a9f25ecfedd03a41f64/lockfile/6.0.md#packagesdependencypathname
name := info.Name
Expand Down

0 comments on commit bf6b8c4

Please sign in to comment.