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 57d4448 commit 470c801
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sflkit/runners/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,11 @@ def get_tests(
str_files = [str(f) for f in files]
common_path = self._common_path(str_files)
if common_path:
file_base = root_dir / common_path
common_base = self._common_base(root_dir, [common_path])
if common_base:
file_base = common_base / common_path
else:
file_base = root_dir / common_path
c += str_files
process = subprocess.run(
[
Expand Down

0 comments on commit 470c801

Please sign in to comment.