Replace fmt.Println with internal logging

Signed-off-by: Morten Linderud <morten@linderud.pw>
This commit is contained in:
Morten Linderud 2021-06-12 21:37:55 +02:00
parent 070702abda
commit 4de27722ee
No known key found for this signature in database
GPG Key ID: E742683BA08CB2FF
1 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,6 @@
package main
import (
"fmt"
"github.com/foxboron/sbctl"
"github.com/foxboron/sbctl/logging"
"github.com/spf13/cobra"
@ -40,7 +38,7 @@ func RunList(_ *cobra.Command, args []string) error {
if s.File != s.OutputFile {
logging.Print("Output File:\t%s\n", s.OutputFile)
}
fmt.Println("")
logging.Println("")
files = append(files, JsonFile{*s, isSigned})
return nil
},