Skip to content

Commit 34c3689

Browse files
committed
style: Fix formatting
1 parent babcedf commit 34c3689

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/extractors.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ pub fn update_sarif(path: &PathBuf, extractor: String) -> Result<()> {
177177
let data = serde_json::to_string(&sarif_json)
178178
.context(format!("Failed to serialize SARIF JSON: {:?}", path))?;
179179
// Write the updated SARIF back to the file
180-
std::fs::write(path, data)
181-
.context(format!("Failed to write SARIF file: {:?}", path))?;
180+
std::fs::write(path, data).context(format!("Failed to write SARIF file: {:?}", path))?;
182181
Ok(())
183182
}
184183

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use anyhow::{Context, Result};
22
use ghactions::{ActionTrait, group, groupend};
33
use ghactions_core::RepositoryReference;
4+
use ghastoolkit::codeql::database::queries::CodeQLQueries;
45
use ghastoolkit::prelude::*;
5-
use ghastoolkit::{codeql::database::queries::CodeQLQueries};
66
use log::{debug, info};
77

88
mod action;

0 commit comments

Comments
 (0)