Skip to content

Commit f973e61

Browse files
Fix bug when showing diff
1 parent 15f6397 commit f973e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/validate_min_versions_in_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def pin_min_versions_to_ci_deps() -> int:
7777
sys.stderr.write("\n".join(list(difflib.unified_diff(
7878
yaml_start_data,
7979
yaml_result_data,
80-
fromfile=curr_file,
80+
fromfile=curr_file.name,
8181
tofile="edited"))))
8282
with open(curr_file, "w", encoding="utf-8") as f:
8383
f.write(yaml_result_data)

0 commit comments

Comments
 (0)