codereview: fixed issue in ruby.rb

After a github `suggestion` we had a superfluous `end`. Sorry for that.
This commit is contained in:
Christian Falch
2025-08-27 10:00:54 +02:00
parent 999d43dcad
commit 65d6980b44
@@ -704,14 +704,13 @@ class ReactNativePodsUtils
end
def self.resolve_use_frameworks(spec, header_mappings_dir: nil, module_name: nil)
return unless ENV['USE_FRAMEWORKS']
if module_name
spec.module_name = module_name
end
return unless ENV['USE_FRAMEWORKS']
if module_name
spec.module_name = module_name
end
if header_mappings_dir != nil && ReactNativeCoreUtils.build_rncore_from_source()
spec.header_mappings_dir = header_mappings_dir
end
if header_mappings_dir != nil && ReactNativeCoreUtils.build_rncore_from_source()
spec.header_mappings_dir = header_mappings_dir
end
end
end