Skip to content
Permalink
Browse files

Fixes syntax of autolink script (#24882)

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 5954880875d8dfb9b7868aa316647f8fe2b3d8c3
Showing with 6 additions and 4 deletions.
  1. +5 −3 RNTester/Podfile
  2. +1 −1 scripts/autolink-ios.rb
@@ -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'
@@ -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
@@ -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

1 comment on commit 5954880

@ericlewis

This comment has been minimized.

Copy link
Collaborator

commented on 5954880 May 16, 2019

AHH! ty lol

Please sign in to comment.
You can’t perform that action at this time.