Skip to content

Commit 76ab095

Browse files
committed
more rebase fix
1 parent 2662e4d commit 76ab095

File tree

1 file changed

+4
-1
lines changed
  • compiler-rs/clients_schema_to_openapi/src

1 file changed

+4
-1
lines changed

compiler-rs/clients_schema_to_openapi/src/main.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,12 @@ fn main() -> anyhow::Result<()> {
3939
let redirect_path = cli.redirect_path(&cli.output);
4040
let openapi = clients_schema_to_openapi::convert_schema(schema, cli.into(), product_meta)?;
4141
serde_json::to_writer_pretty(File::create(&output)?, &openapi.openapi)?;
42+
serde_json::to_writer_pretty(File::create(&output)?, &openapi.openapi)?;
43+
4244
if let Some(redirects) = openapi.redirects {
4345
let path = redirect_path.unwrap();
44-
}
4546
std::fs::write(path, &redirects)?;
47+
}
48+
4649
Ok(())
4750
}

0 commit comments

Comments
 (0)