Skip to content

Commit

Permalink
Fix access to settings.files_glob
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed May 23, 2022
1 parent 57adf96 commit daa2202
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/publish_unit_test_results.py
Expand Up @@ -70,11 +70,11 @@ def main(settings: Settings, gha: GithubAction) -> None:
return

# resolve the files_glob to files
files = get_files(settings.files_glob)
files = get_files(settings.junit_files_glob)
if len(files) == 0:
gha.warning(f'Could not find any files for {settings.files_glob}')
gha.warning(f'Could not find any files for {settings.junit_files_glob}')
else:
logger.info(f'reading {settings.files_glob}')
logger.info(f'reading {settings.junit_files_glob}')
logger.debug(f'reading {list(files)}')

# get the unit test results
Expand Down

0 comments on commit daa2202

Please sign in to comment.