From ba832c0a8466e5301eb051cbfdd2c99ae122e183 Mon Sep 17 00:00:00 2001 From: akmhmgc Date: Tue, 29 Oct 2024 20:53:21 +0900 Subject: [PATCH] Remove redundant variable assignment --- lib/avro_turf/schema_store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/avro_turf/schema_store.rb b/lib/avro_turf/schema_store.rb index a57721c..19a74e2 100644 --- a/lib/avro_turf/schema_store.rb +++ b/lib/avro_turf/schema_store.rb @@ -92,6 +92,6 @@ def load_schema!(fullname, local_schemas_cache = {}) def build_schema_path(fullname) *namespace, schema_name = fullname.split(".") - schema_path = File.join(@path, *namespace, schema_name + ".avsc") + File.join(@path, *namespace, "#{schema_name}.avsc") end end