Skip to content

Commit

Permalink
Fixes syntax of autolink script (#24882)
Browse files Browse the repository at this point in the history
Summary:
Oops, fixes syntax of autolink script landed in #24867.

## Changelog

[iOS] [Fixed] - Fixes syntax of autolink script
Pull Request resolved: #24882

Differential Revision: D15371272

Pulled By: cpojer

fbshipit-source-id: 8538be040b8b116b9651dc26749ab8febad0fe7c
  • Loading branch information
zhongwuzw authored and facebook-github-bot committed May 16, 2019
1 parent 9004029 commit 5954880
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions RNTester/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ target 'RNTester' do
# use_frameworks!

project 'RNTesterPods.xcodeproj'

# Enable TurboModule
use_react_native!(path: "..", turbo_modules_enabled: true)
pod 'React-turbomodule-samples', :path => '../ReactCommon/turbomodule/samples'

# Additional Pods which aren't included in the default Podfile
pod 'React-RCTCameraRoll', :path => '../Libraries/CameraRoll'
Expand All @@ -16,7 +19,6 @@ target 'RNTester' do

# Additional Pods which are classed as unstable
#
# To use fabric: add `fabric_enabled` option to the use_react_native method above

pod 'React-turbomodule-samples', :path => '../ReactCommon/turbomodule/samples'
# To use fabric: add `fabric_enabled` option to the use_react_native method above, like below
# use_react_native!(path: "..", turbo_modules_enabled: true, fabric_enabled: true)
end
2 changes: 1 addition & 1 deletion scripts/autolink-ios.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def use_react_native! (options={})
fabric_enabled = options[:fabric_enabled] ||= false

# Include Turbo Modules dependencies
turbo_modules_enabled = options[:turbo_modules_enabled ||= false
turbo_modules_enabled = options[:turbo_modules_enabled] ||= false

# Include DevSupport dependency
production = options[:production] ||= false
Expand Down

1 comment on commit 5954880

@ericlewis
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AHH! ty lol

Please sign in to comment.