Skip to content

Commit 10a2fe9

Browse files
committed
Update YOURLS-diff_CreatePackage.py
Minor fix (just an alert if there are no files removed between the two versions).
1 parent ac7e8d2 commit 10a2fe9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

YOURLS-diff_CreatePackage.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,8 @@ def main():
393393
for full in sorted(removed):
394394
rel = os.path.relpath(full, old_dir)
395395
rb.write(rel + "\n")
396+
else:
397+
rb.write("\nNo files were removed between the two versions.\n")
396398

397399
print(f"→ Release summary saved to {release_body_path}")
398400

0 commit comments

Comments
 (0)