Skip to content

Commit

Permalink
fix: dangling non-existing variable github_info
Browse files Browse the repository at this point in the history
  • Loading branch information
randomicecube committed Mar 2, 2025
1 parent 98952a5 commit fc15c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/static_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ def cached_analysis_matches_schema(cached_analysis, schema):
update_package_info(package_info, "source_code", check_existence(package, repo_url, extract_message, pm))

if check_match and package_info.get("source_code") and package_info["source_code"].get("github_exists"):
repo_url_to_use = github_info.get("redirected_repo") or repo_url
repo_url_to_use = package_info["source_code"].get("redirected_repo") or repo_url
if package_info.get("provenance") == False:
if (
package_info["source_code"].get("is_fork") == True
Expand Down

0 comments on commit fc15c9d

Please # to comment.