File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/gardenlinux/features/reproducibility Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ def _diff_files(
129129 if not left_root :
130130 left_root = Path (cmp .left )
131131 for name in cmp .diff_files :
132- result .append (f"/{ left_root .relative_to (left_root ).joinpath (name )} " )
132+ result .append (f"/{ Path ( cmp . left ) .relative_to (left_root ).joinpath (name )} " )
133133 for sub_cmp in cmp .subdirs .values ():
134134 result += self ._diff_files (sub_cmp , left_root = left_root )
135135 return result
Original file line number Diff line number Diff line change @@ -104,15 +104,15 @@ def test_formatter(i: str) -> None:
104104 FLAVORS_MATRIX ,
105105 BARE_FLAVORS_MATRIX ,
106106 diff_files .joinpath (i ),
107- gardenlinux_root = gardenlinux_root ,
107+ gardenlinux_root = str ( gardenlinux_root ) ,
108108 nightly_stats = nightly_stats ,
109109 )
110110 else :
111111 formatter = MarkdownFormatter (
112112 FLAVORS_MATRIX ,
113113 BARE_FLAVORS_MATRIX ,
114114 diff_files .joinpath (i ),
115- gardenlinux_root = gardenlinux_root ,
115+ gardenlinux_root = str ( gardenlinux_root ) ,
116116 )
117117
118118 with open (diff_files .joinpath (f"{ i } .md" ), "r" ) as f :
You can’t perform that action at this time.
0 commit comments