mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
remove metadata from text presenter (#90)
This commit is contained in:
parent
9e285fd0e2
commit
4fa391b4cb
@ -52,9 +52,6 @@ func (pres *Presenter) Present(output io.Writer) error {
|
||||
fmt.Fprintln(w, fmt.Sprintf("[%s]", p.Name))
|
||||
fmt.Fprintln(w, " Version:\t", p.Version)
|
||||
fmt.Fprintln(w, " Type:\t", p.Type.String())
|
||||
if p.Metadata != nil {
|
||||
fmt.Fprintf(w, " Metadata:\t%+v\n", p.Metadata)
|
||||
}
|
||||
fmt.Fprintln(w, " Found by:\t", p.FoundBy)
|
||||
fmt.Fprintln(w)
|
||||
w.Flush()
|
||||
|
||||
@ -17,6 +17,5 @@
|
||||
[package-2]
|
||||
Version: 2.0.1
|
||||
Type: deb
|
||||
Metadata: {Name:package-2 Version:1.0.2}
|
||||
Found by: dpkg
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user