There was an error while loading. Please reload this page.
1 parent c4ee62a commit a6d8dabCopy full SHA for a6d8dab
1 file changed
scripts/compare_merge.py
@@ -588,19 +588,15 @@ def format_enhanced_diff(
588
589
# Items only in old (removed)
590
if only_old:
591
- lines.append(
592
- f" {C.RED}Removed ({len(only_old)} item(s)):{C.RESET}"
593
- )
+ lines.append(f" {C.RED}Removed ({len(only_old)} item(s)):{C.RESET}")
594
for item in only_old:
595
for fl in _format_yaml_item(item):
596
lines.append(f" {C.RED}{fl}{C.RESET}")
597
lines.append("")
598
599
# Items only in new (added)
600
if only_new:
601
602
- f" {C.GREEN}Added ({len(only_new)} item(s)):{C.RESET}"
603
+ lines.append(f" {C.GREEN}Added ({len(only_new)} item(s)):{C.RESET}")
604
for item in only_new:
605
606
lines.append(f" {C.GREEN}{fl}{C.RESET}")
0 commit comments