lib/roku_builder/plugins/analyzer.rb in roku_builder-4.22.6 vs lib/roku_builder/plugins/analyzer.rb in roku_builder-4.22.7

- old
+ new

@@ -94,9 +94,14 @@ def add_warning?(ssai) if @sca_warning and @sca_warning[:severity] if ssai and /SetAdUrl\(\) method is missing/.match(@sca_warning[:message]) return false end + libraries = @config.project[:libraries] + libraries ||= [] + if libraries.any_is_start?(@sca_warning[:path].gsub(/pkg:/, "")) and not @options[:include_libraries] + return false + end return true end return false end