Skip to content

Commit f25b73b

Browse files
committed
style: Update Cargo fmt
1 parent 7856fd8 commit f25b73b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,14 +195,12 @@ async fn main() -> Result<()> {
195195
});
196196

197197
log::debug!("Writing SARIF file to {sarif_path:?}");
198-
if let Err(e) = std::fs::write(&sarif_path, serde_json::to_string(&sarif)?)
199-
{
198+
if let Err(e) = std::fs::write(&sarif_path, serde_json::to_string(&sarif)?) {
200199
log::error!("Failed to write SARIF file: {e}");
201200
} else {
202201
log::info!("SARIF file written successfully: {sarif_path:?}");
203202
}
204203
}
205-
206204
}
207205

208206
// Reload the database to get analysis info

0 commit comments

Comments
 (0)