fix: create schemas folder
This commit is contained in:
@@ -1092,6 +1092,7 @@ mod tests {
|
|||||||
fn export_schema() {
|
fn export_schema() {
|
||||||
let theme = schema_for!(Theme);
|
let theme = schema_for!(Theme);
|
||||||
let output = serde_json::to_string_pretty(&theme).unwrap();
|
let output = serde_json::to_string_pretty(&theme).unwrap();
|
||||||
|
std::fs::create_dir("schemas").ok();
|
||||||
std::fs::write("schemas/theme.json", output).ok();
|
std::fs::write("schemas/theme.json", output).ok();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user