Skip to content

Commit

Permalink
Merge pull request #607 from camptocamp/no-nom-audit-force
Browse files Browse the repository at this point in the history
No force in npm audit fix
  • Loading branch information
sbrunner authored Nov 12, 2024
2 parents 59ece88 + b5b762f commit 95cc498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github_app_geo_project/module/audit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,8 @@ async def _npm_audit_fix(
for package_lock_file_name, file_messages in fixable_files_npm.items():
directory = os.path.dirname(os.path.abspath(package_lock_file_name))
messages.update(file_messages)
_LOGGER.debug("Fixing vulnerabilities in %s with npm audit fix --force", package_lock_file_name)
command = ["npm", "audit", "fix", "--force"]
_LOGGER.debug("Fixing vulnerabilities in %s with npm audit fix", package_lock_file_name)
command = ["npm", "audit", "fix"]
_, success, message = await module_utils.run_timeout(
command,
os.environ.copy(),
Expand Down

0 comments on commit 95cc498

Please sign in to comment.