Skip to content

Commit

Permalink
Fix Python logic in license checker
Browse files Browse the repository at this point in the history
  • Loading branch information
ralienpp committed Oct 6, 2023
1 parent a2151cb commit 294e010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/license-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def load_allowed_licenses(path):
logging.info('Producing license report: \n%s', summary)

if args.enforce:
allowed = load_allowed_licenses(args.allowed)
allowed = load_allowed_licenses(args.enforce)
valid = check_license_compliance(parsed_sbom, allowed)
if valid:
logging.info('SUCCESS: No license issues found')
Expand Down

0 comments on commit 294e010

Please sign in to comment.