lib/roku_builder/plugins/analyzer.rb in roku_builder-4.14.0 vs lib/roku_builder/plugins/analyzer.rb in roku_builder-4.14.1
- old
+ new
@@ -47,10 +47,10 @@
file = file_path.dup; file.slice!(dir)
unless libraries.any_is_start?(file) and not @options[:include_libraries]
if File.file?(file_path) and file_path.end_with?(".brs", ".xml")
line_inspector_config = analyzer_config[:lineInspectors]
line_inspector_config += performance_config
- line_inspector_config += linter_config[:rules] if linter_config
+ line_inspector_config += linter_config if linter_config
line_inspector = LineInspector.new(config: @config, raf: raf_inspector, inspector_config: line_inspector_config)
@warnings.concat(line_inspector.run(file_path))
end
if file_path.end_with?("__MACOSX")
add_warning(warning: :packageMacosxDirectory, path: file_path)