mirror of
https://github.com/git-chglog/git-chglog.git
synced 2026-01-23 02:15:12 +00:00
revert change for Initializer
since InitContext should have Stdout/Stderr which is set as colorable
This commit is contained in:
parent
9067d95bd7
commit
88ea38ea8f
1 changed files with 1 additions and 2 deletions
|
|
@ -5,7 +5,6 @@ import (
|
|||
"path/filepath"
|
||||
|
||||
"github.com/fatih/color"
|
||||
"github.com/mattn/go-colorable"
|
||||
gitcmd "github.com/tsuyoshiwada/go-gitcmd"
|
||||
)
|
||||
|
||||
|
|
@ -31,7 +30,7 @@ func NewInitializer(
|
|||
return &Initializer{
|
||||
ctx: ctx,
|
||||
fs: fs,
|
||||
logger: NewLogger(colorable.NewColorableStdout(), colorable.NewColorableStderr(), false, false),
|
||||
logger: NewLogger(ctx.Stdout, ctx.Stderr, false, false),
|
||||
questioner: questioner,
|
||||
configBuilder: configBuilder,
|
||||
templateBuilder: templateBuilder,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue