Skip to content

Commit

Permalink
Remove conditional byebug
Browse files Browse the repository at this point in the history
  • Loading branch information
etagwerker committed Dec 19, 2024
1 parent 76b1c41 commit e391a57
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/rails_stats/console_formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)} " \
Expand Down

0 comments on commit e391a57

Please sign in to comment.