lib/roku_builder/plugins/analyzer.rb in roku_builder-4.22.8 vs lib/roku_builder/plugins/analyzer.rb in roku_builder-4.22.9

- old
+ new

@@ -96,10 +96,10 @@ 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] + if @sca_warning[:path] and libraries.any_is_start?(@sca_warning[:path].gsub(/pkg:/, "")) and not @options[:include_libraries] return false end return true end return false