Преглед изворни кода

Set errwriter for urfave/cli v1 (#26616)

Resolves #26615
tags/v1.20.4
John Olheiser пре 10 месеци
родитељ
комит
11711c51cb
No account linked to committer's email address
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2
    0
      main.go

+ 2
- 0
main.go Прегледај датотеку

@@ -150,6 +150,8 @@ func main() {
log.GetManager().Close()
os.Exit(code)
}
app.ErrWriter = os.Stderr

_ = cmd.RunMainApp(app, os.Args...) // all errors should have been handled by the RunMainApp
log.GetManager().Close()
}

Loading…
Откажи
Сачувај