From e391a570cacc66121ef8992de4a42d233651b1c0 Mon Sep 17 00:00:00 2001 From: Ernesto Tagwerker Date: Thu, 19 Dec 2024 17:17:34 -0500 Subject: [PATCH] Remove conditional byebug --- lib/rails_stats/console_formatter.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/rails_stats/console_formatter.rb b/lib/rails_stats/console_formatter.rb index 5531649..990b726 100644 --- a/lib/rails_stats/console_formatter.rb +++ b/lib/rails_stats/console_formatter.rb @@ -36,8 +36,6 @@ def print_line(name, statistics) m_over_c = (statistics.methods / statistics.classes) rescue m_over_c = 0 loc_over_m = (statistics.code_lines / statistics.methods) - 2 rescue loc_over_m = 0 - require 'byebug'; byebug if statistics.nil? - puts "| #{name.ljust(20)} " \ "| #{statistics.files_total.to_s.rjust(7)} " \ "| #{statistics.lines.to_s.rjust(7)} " \