Skip to content

Commit

Permalink
Merge pull request #487 from shubhbapna/fix-lint
Browse files Browse the repository at this point in the history
fix linter for generic patches directory
  • Loading branch information
mergify[bot] authored Oct 25, 2024
2 parents c7b3834 + 9ee35e5 commit 33e1276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fromager/commands/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def lint(
)
else:
expected_package_name = overrides.pkgname_to_override_module(entry.name)
if actual_package_name != expected_package_name:
if entry.name != expected_package_name:
errors += 1
logger.error(
f"ERROR: Patch directory {entry.name} should be {expected_package_name}"
Expand Down

0 comments on commit 33e1276

Please sign in to comment.