summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/ui/app.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/ui/app.go b/runtime/ui/app.go
index 9897b68..1360012 100644
--- a/runtime/ui/app.go
+++ b/runtime/ui/app.go
@@ -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 {