mirror of
https://github.com/wagoodman/dive
synced 2026-03-14 14:25:50 +01:00
Update runtime/ui/app.go
Co-authored-by: Changsu <imcxsu@gmail.com>
This commit is contained in:
parent
52b326c040
commit
00a1b771a8
1 changed files with 1 additions and 0 deletions
|
|
@ -133,6 +133,7 @@ func newApp(app *tview.Application, analysis *image.AnalysisResult, cache filetr
|
|||
// Run is the UI entrypoint.
|
||||
func Run(analysis *image.AnalysisResult, treeStack filetree.Comparer, isCNB bool) error {
|
||||
cfg := zap.NewDevelopmentConfig()
|
||||
os.MkdirAll("/tmp/dive", os.ModePerm)
|
||||
cfg.OutputPaths = []string{"/tmp/dive/debug.out"}
|
||||
logger, err := cfg.Build()
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue