Skip to content

Commit

Permalink
use fmt.Fprint
Browse files Browse the repository at this point in the history
  • Loading branch information
brycekahle authored and rafaeldtinoco committed Oct 9, 2023
1 parent 0064560 commit 9bbf4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pkg/suse.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ func (pkg *SUSEPackage) Download(ctx context.Context, _ string, force bool) (str

func zypperDownload(ctx context.Context, pkg string) error {
stdout, err := utils.RunZypperCMD(ctx, "-q", "install", "-y", "--no-recommends", "--download-only", pkg)
_, _ = fmt.Fprintf(os.Stdout, stdout.String())
_, _ = fmt.Fprint(os.Stdout, stdout.String())
return err
}

0 comments on commit 9bbf4a8

Please sign in to comment.