fix(libscan): include a lockfile path of libs (#1012)

This commit is contained in:
Kota Kanbe
2020-06-24 10:46:00 +09:00
committed by GitHub
parent 8a611f9ba6
commit c11ba27509
8 changed files with 115 additions and 120 deletions

View File

@@ -745,7 +745,7 @@ func setChangelogLayout(g *gocui.Gui) error {
}
for _, l := range vinfo.LibraryFixedIns {
libs := r.LibraryScanners.Find(l.Name)
libs := r.LibraryScanners.Find(l.Path, l.Name)
for path, lib := range libs {
lines = append(lines, fmt.Sprintf("%s-%s, FixedIn: %s (%s)",
lib.Name, lib.Version, l.FixedIn, path))