From 270f5fa746f7d5c879750c817329c3a08fd97103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Fri, 21 Jun 2024 11:49:38 +0200 Subject: [PATCH] Audit: Get the state after the fixies are applied --- github_app_geo_project/module/audit/utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/github_app_geo_project/module/audit/utils.py b/github_app_geo_project/module/audit/utils.py index 07cac193b4d..be9a0cec756 100644 --- a/github_app_geo_project/module/audit/utils.py +++ b/github_app_geo_project/module/audit/utils.py @@ -81,6 +81,10 @@ async def snyk( fix_message.html = f"{fix_message.html}
\n
\n{npm_audit_fix_message}" fix_success = snyk_fix_success and npm_audit_fix_success + high_vulnerabilities, fixable_vulnerabilities, fixable_vulnerabilities_summary, fixable_files_npm = ( + await _snyk_test(branch, config, local_config, result, env_no_debug) + ) + return_message = [ *[f"{number} {severity} vulnerabilities" for severity, number in high_vulnerabilities.items()], *[