lib/roku_builder/plugins/analyzer.rb in roku_builder-4.27.0 vs lib/roku_builder/plugins/analyzer.rb in roku_builder-4.27.1

- old
+ new

@@ -85,10 +85,11 @@ @warnings.push(@sca_warning) if add_warning?(linter_config) @sca_warning = {} @sca_warning[:severity] = data[1].gsub(/(\[|\])/, "").downcase @sca_warning[:message] = data[2] elsif data = /^\s*Path: ([^ ]*) Line: (\d*)./.match(result_line) - @sca_warning[:path] = data[1]+":"+data[2] + @sca_warning[:path] = data[1] + @sca_warning[:line] = data[2].to_i elsif @sca_warning and @sca_warning[:message] @sca_warning[:message] += " " + result_line end end end