From bb738f3dafc4632d6524da2c2f0b62ca3107b19c Mon Sep 17 00:00:00 2001 From: Rob van der Leek <5324924+robvanderleek@users.noreply.github.com> Date: Sat, 10 Aug 2024 13:32:21 +0200 Subject: [PATCH] Fix emoji --- codelimit/common/Scanner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/codelimit/common/Scanner.py b/codelimit/common/Scanner.py index 43f72fd..9bb7e8c 100644 --- a/codelimit/common/Scanner.py +++ b/codelimit/common/Scanner.py @@ -48,6 +48,8 @@ def add_file_entry(entry: SourceFileEntry): _scan_folder(codebase, path, cached_report, add_file_entry) live.stop() + live.refresh() + print() print_refactor_candidates(scan_totals) return codebase @@ -73,7 +75,7 @@ def print_refactor_candidates(scan_totals: ScanTotals): print(f" [red]\u2716[/red] {total_unmaintainable} functions need refactoring.") if total_hard_to_maintain == 0 and total_unmaintainable == 0: print( - " [bold]Refactoring not necessary, :sparkles: happy coding! :sparkles:[/bold]" + " [bold]Refactoring not necessary, :glowing_star: happy coding! :glowing_star:[/bold]" )