Skip to content

Commit

Permalink
Call hook in async world too
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Jun 28, 2024
1 parent 6e77061 commit 77bca1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/file_scanner_analyzer/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ pub async fn scan_and_analyze_async(
cached_analysis.safe_symbol_members,
);

for hook in &config.hooks {
hook.after_populate(&codebase, &interner);
}

let (analysis_result, arc_scan_data) = get_analysis_ready(
&config,
codebase,
Expand Down

0 comments on commit 77bca1c

Please sign in to comment.