fix(config): transpose arguments (#516)

This commit is contained in:
Teppei Fukuda
2020-06-08 15:47:20 +03:00
committed by GitHub
parent 020c4a3b14
commit 9629303a0f

View File

@@ -21,7 +21,7 @@ type GlobalConfig struct {
func NewGlobalConfig(c *cli.Context) (GlobalConfig, error) {
quiet := c.Bool("quiet")
debug := c.Bool("debug")
logger, err := log.NewLogger(quiet, debug)
logger, err := log.NewLogger(debug, quiet)
if err != nil {
return GlobalConfig{}, xerrors.New("failed to create a logger")
}