Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

fix: create schemas folder

Sergey Onufrienkoa9fec7f15b28
diff --git a/crates/theme/src/theme.rs b/crates/theme/src/theme.rs
index 2510e450ec3..1dbe6363185 100644
--- a/crates/theme/src/theme.rs
+++ b/crates/theme/src/theme.rs
@@ -1092,6 +1092,7 @@ mod tests {
fn export_schema() {
let theme = schema_for!(Theme);
let output = serde_json::to_string_pretty(&theme).unwrap();
+ std::fs::create_dir("schemas").ok();
std::fs::write("schemas/theme.json", output).ok();
}
}