remove metadata from text presenter (#90)

This commit is contained in:
Alex Goodman 2020-07-20 15:28:26 -04:00 committed by GitHub
parent 9e285fd0e2
commit 4fa391b4cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -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()

View File

@ -17,6 +17,5 @@
[package-2]
Version: 2.0.1
Type: deb
Metadata: {Name:package-2 Version:1.0.2}
Found by: dpkg