File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11use anyhow:: { Context , Result } ;
22use ghactions:: { ActionTrait , group, groupend} ;
33use ghactions_core:: RepositoryReference ;
4+ use ghastoolkit:: codeql:: database:: queries:: CodeQLQueries ;
45use ghastoolkit:: prelude:: * ;
5- use ghastoolkit:: { codeql:: database:: queries:: CodeQLQueries } ;
66use log:: { debug, info} ;
77
88mod action;
You can’t perform that action at this time.
0 commit comments