File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -180,19 +180,24 @@ pub async fn fetch_extractor(
180180 }
181181
182182 // Find `codeql-extractor.yml` in the extracted directory using glob
183- log:: debug!( "Searching for codeql-extractor.yml in {}" , extractor_pack. display( ) ) ;
183+ log:: debug!(
184+ "Searching for codeql-extractor.yml in {}" ,
185+ extractor_pack. display( )
186+ ) ;
184187 if let Some ( glob_result) = glob:: glob (
185188 & extractor_pack
186189 . join ( "**/codeql-extractor.yml" )
187190 . to_string_lossy ( ) ,
188- ) ?. next ( ) {
191+ ) ?
192+ . next ( )
193+ {
189194 match glob_result {
190195 Ok ( path) => {
191196 // TODO: Load and check the extractor configuration
192197 log:: debug!( "Found extractor configuration at: {path:?}" ) ;
193198 let full_path = path. parent ( ) . unwrap ( ) . to_path_buf ( ) . canonicalize ( ) ?;
194199 log:: debug!( "Using extractor directory: {}" , full_path. display( ) ) ;
195-
200+
196201 // Linux and Macos
197202 #[ cfg( unix) ]
198203 {
@@ -207,7 +212,10 @@ pub async fn fetch_extractor(
207212 }
208213 }
209214 } else {
210- log:: warn!( "No codeql-extractor.yml found in {}" , extractor_pack. display( ) ) ;
215+ log:: warn!(
216+ "No codeql-extractor.yml found in {}" ,
217+ extractor_pack. display( )
218+ ) ;
211219 }
212220 Ok ( extractor_pack)
213221}
You can’t perform that action at this time.
0 commit comments