From ce51697affb341f97513983b10e6ee7a993e49f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Tue, 19 Mar 2024 16:08:45 +0000 Subject: [PATCH] ruby 3.0 compat --- lib/packwerk/references_from_file.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/packwerk/references_from_file.rb b/lib/packwerk/references_from_file.rb index 8f6b76ab1..c8a8d2a84 100644 --- a/lib/packwerk/references_from_file.rb +++ b/lib/packwerk/references_from_file.rb @@ -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)