feat(report): considering App.Writer when printing results (#1722)

Co-authored-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
Guy Ben-Aharon
2022-02-21 16:47:42 +02:00
committed by GitHub
parent 356ae30c7e
commit 4423396bcc
4 changed files with 10 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ func (c *Option) Init() (err error) {
c.CustomHeaders.Set(c.tokenHeader, c.token)
}
if err = c.ReportOption.Init(c.Logger); err != nil {
if err = c.ReportOption.Init(c.Context.App.Writer, c.Logger); err != nil {
return err
}