Skip to content

Commit

Permalink
updated base handling
Browse files Browse the repository at this point in the history
  • Loading branch information
smythi93 committed Jul 28, 2024
1 parent 83277f7 commit 8dc53ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sflkit/runners/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,11 @@ def get_tests(
str_files = [str(files)]
else:
str_files = [str(f) for f in files]
common_base = self._common_base(root_dir, [str(files)])
common_base = self._common_base(root_dir, str_files)
if common_base:
file_base = common_base
elif base:
common_base = self._common_base(base, [str(files)])
common_base = self._common_base(base, str_files)
if common_base:
file_base = common_base
c += str_files
Expand Down

0 comments on commit 8dc53ee

Please sign in to comment.