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 09:16:46 +01:00
committed by Riccardo Cipolleschi
parent ad2c2bd9ba
commit 1bd1d368ce
@@ -702,14 +702,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