Show arrays in multiple lines in readable info

This commit is contained in:
2026-01-25 19:23:39 +02:00
parent 2072e3856f
commit 9f8a20c671
2 changed files with 9 additions and 3 deletions
+4 -1
View File
@@ -546,7 +546,10 @@ func (pkgInfo *PackageInfo) CreateReadableInfo(rootDir string) string {
return
}
ret = append(ret, fmt.Sprintf("%s: %s", label, strings.Join(array, ", ")))
ret = append(ret, label+":")
for _, val := range array {
ret = append(ret, " - "+val)
}
}
ret = append(ret, "Name: "+pkgInfo.Name)