lib/packwerk/run_context.rb in packwerk-2.2.0 vs lib/packwerk/run_context.rb in packwerk-2.2.1

- old
+ new

@@ -75,12 +75,12 @@ @cache = T.let( Cache.new(enable_cache: @cache_enabled, cache_directory: @cache_directory, config_path: @config_path), Cache ) end - sig { params(absolute_file: String).returns(T::Array[Packwerk::Offense]) } - def process_file(absolute_file:) - processed_file = file_processor.call(absolute_file) + sig { params(relative_file: String).returns(T::Array[Packwerk::Offense]) } + def process_file(relative_file:) + processed_file = file_processor.call(relative_file) references = ReferenceExtractor.get_fully_qualified_references_from( processed_file.unresolved_references, context_provider )