We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3076276 commit ed566a9Copy full SHA for ed566a9
crates/policy/src/bin/schema.rs
@@ -19,7 +19,7 @@ use schemars::{JsonSchema, r#gen::SchemaSettings};
19
fn write_schema<T: JsonSchema>(out_dir: Option<&Path>, file: &str) {
20
let mut writer: Box<dyn std::io::Write> = if let Some(out_dir) = out_dir {
21
let path = out_dir.join(file);
22
- eprintln!("Writing to {path:?}");
+ eprintln!("Writing to {}", path.display());
23
let file = std::fs::File::create(path).expect("Failed to create file");
24
Box::new(std::io::BufWriter::new(file))
25
} else {
0 commit comments