fix: create schemas folder
This commit is contained in:
parent
01b9e88079
commit
a9fec7f15b
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue