Skip to content

Commit 57c3905

Browse files
authored
Merge pull request #29 from fastruby/fixes/missing-byebug
Remove conditional byebug
2 parents 76b1c41 + 2c4a3e5 commit 57c3905

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
*
44

5+
# v2.0.1 ([commits](https://github.com/fastruby/rails_stats/compare/v2.0.0...v2.0.1))
6+
7+
* [BUGFIX: Remove conditional byebug](https://github.com/fastruby/rails_stats/pull/29)
8+
59
# v2.0.0 ([commits](https://github.com/fastruby/rails_stats/compare/v1.0.2...v2.0.0))
610

711
* [FEATURE: Add basic coverage to RailsStats::CodeStatistics#to_s](https://github.com/fastruby/rails_stats/pull/10)

lib/rails_stats/console_formatter.rb

-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ def print_line(name, statistics)
3636
m_over_c = (statistics.methods / statistics.classes) rescue m_over_c = 0
3737
loc_over_m = (statistics.code_lines / statistics.methods) - 2 rescue loc_over_m = 0
3838

39-
require 'byebug'; byebug if statistics.nil?
40-
4139
puts "| #{name.ljust(20)} " \
4240
"| #{statistics.files_total.to_s.rjust(7)} " \
4341
"| #{statistics.lines.to_s.rjust(7)} " \

0 commit comments

Comments
 (0)