Compare commits

...

1 Commits

Author SHA1 Message Date
Cole Miller
73e479d8e9 Create parent of .zed/debug.json if needed 2025-05-12 10:48:49 +02:00

View File

@@ -1020,6 +1020,9 @@ impl DebugPanel {
serialized_scenario,
]))?;
if let Some(parent) = path.parent() {
fs.create_dir(parent).await.ok();
}
fs.create_file(path, Default::default()).await?;
fs.save(path, &content.into(), Default::default()).await?;
} else {