Skip to content

Commit

Permalink
🐛 use lowercase name in ozi.fix.missing:required_files
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jul 4, 2024
1 parent 57985a9 commit 795cd4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ozi/fix/missing.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def required_files(
rel_path = Path('.')
expected_files = METADATA.spec.python.src.required.root
case 'source':
rel_path = Path(underscorify(name))
rel_path = Path(underscorify(name).lower())
expected_files = METADATA.spec.python.src.required.source
case _: # pragma: no cover
rel_path = Path('.')
Expand All @@ -136,7 +136,7 @@ def required_files(
continue # pragma: defer to https://github.com/nedbat/coveragepy/issues/198
TAP.ok(str(f))
found_files.append(file)
walk(target, rel_path, found_files=found_files, project_name=underscorify(name))
walk(target, rel_path, found_files=found_files, project_name=underscorify(name).lower())
return found_files


Expand Down

0 comments on commit 795cd4d

Please sign in to comment.