Skip to content

Commit

Permalink
ruby 3.0 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
exterm committed Mar 19, 2024
1 parent 99f7576 commit ce51697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/packwerk/references_from_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def list_all(relative_file_paths: [])

sig { params(relative_file: String).returns(T::Array[Packwerk::Reference]) }
def list(relative_file)
references_result = @run_context.references_from_file(relative_file:)
references_result = @run_context.references_from_file(relative_file: relative_file)

if references_result.file_offenses.present?
raise FileParserError.new(file: relative_file, offenses: references_result.file_offenses)
Expand Down

0 comments on commit ce51697

Please sign in to comment.