Skip to content

Commit 1bd1d36

Browse files
chrfalchcipolleschi
authored andcommitted
codereview: fixed issue in ruby.rb
After a github `suggestion` we had a superfluous `end`. Sorry for that.
1 parent ad2c2bd commit 1bd1d36

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
@@ -702,14 +702,13 @@ def self.add_flag_to_map_with_inheritance(map, field, flag)
702702
end
703703

704704
def self.resolve_use_frameworks(spec, header_mappings_dir: nil, module_name: nil)
705-
return unless ENV['USE_FRAMEWORKS']
706-
if module_name
707-
spec.module_name = module_name
708-
end
705+
return unless ENV['USE_FRAMEWORKS']
706+
if module_name
707+
spec.module_name = module_name
708+
end
709709

710-
if header_mappings_dir != nil && ReactNativeCoreUtils.build_rncore_from_source()
711-
spec.header_mappings_dir = header_mappings_dir
712-
end
710+
if header_mappings_dir != nil && ReactNativeCoreUtils.build_rncore_from_source()
711+
spec.header_mappings_dir = header_mappings_dir
713712
end
714713
end
715714
end

0 commit comments

Comments
 (0)