Skip to content

Commit 65d6980

Browse files
committed
codereview: fixed issue in ruby.rb
After a github `suggestion` we had a superfluous `end`. Sorry for that.
1 parent 999d43d commit 65d6980

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

  • packages/react-native/scripts/cocoapods

packages/react-native/scripts/cocoapods/utils.rb

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -704,14 +704,13 @@ def self.add_flag_to_map_with_inheritance(map, field, flag)
704704
end
705705

706706
def self.resolve_use_frameworks(spec, header_mappings_dir: nil, module_name: nil)
707-
return unless ENV['USE_FRAMEWORKS']
708-
if module_name
709-
spec.module_name = module_name
710-
end
707+
return unless ENV['USE_FRAMEWORKS']
708+
if module_name
709+
spec.module_name = module_name
710+
end
711711

712-
if header_mappings_dir != nil && ReactNativeCoreUtils.build_rncore_from_source()
713-
spec.header_mappings_dir = header_mappings_dir
714-
end
712+
if header_mappings_dir != nil && ReactNativeCoreUtils.build_rncore_from_source()
713+
spec.header_mappings_dir = header_mappings_dir
715714
end
716715
end
717716
end

0 commit comments

Comments
 (0)