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 7856fd8 commit f25b73bCopy full SHA for f25b73b
src/main.rs
@@ -195,14 +195,12 @@ async fn main() -> Result<()> {
195
});
196
197
log::debug!("Writing SARIF file to {sarif_path:?}");
198
- if let Err(e) = std::fs::write(&sarif_path, serde_json::to_string(&sarif)?)
199
- {
+ if let Err(e) = std::fs::write(&sarif_path, serde_json::to_string(&sarif)?) {
200
log::error!("Failed to write SARIF file: {e}");
201
} else {
202
log::info!("SARIF file written successfully: {sarif_path:?}");
203
}
204
205
-
206
207
208
// Reload the database to get analysis info
0 commit comments