mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-09-21 04:56:12 +00:00
Show arrays in multiple lines in readable info
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user