lib/sonar/plugin.rb in danger-sonar-1.0.1 vs lib/sonar/plugin.rb in danger-sonar-1.0.2
- old
+ new
@@ -138,9 +138,10 @@
# Filter issues that are part of modified files
issues = issues_in_files_patch(issues)
end
def issues_in_files_patch(issues)
+ log "Sonar - issues to analyse - \n #{issues}"
files_patch_info = get_files_patch_info()
if ignore_file_line_change_check
return issues.select { |i| files_patch_info.keys.detect{ |k| k.to_s =~ /#{i['file']}/ } }
else
return issues.select do |i|