lib/changelog/changelog_file.rb in danger-changelog-0.3.0 vs lib/changelog/changelog_file.rb in danger-changelog-0.4.0
- old
+ new
@@ -40,9 +40,11 @@
File.open(filename).each_line do |line|
next if line.strip.empty?
changelog_line = ChangelogLineParser.parse(line)
+ # puts "#{line.strip}: #{changelog_line.invalid?} (#{changelog_line})"
+
if changelog_line.nil? || changelog_line.invalid?
@bad_lines << line
next
end