Skip to content

Commit

Permalink
Fix Fabric debug message when we set fabric_enabled = false in `rn-…
Browse files Browse the repository at this point in the history
…tester` (#32502)

Summary:
The debug message stays `Building RNTester with Fabric enabled.` even if we set `fabric_enabled = false`

This pull request changes the message like below when `fabric_enabled = false`

`Building RNTester with Fabric disabled.`

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[iOS] [Fixed] - Fix the debug message for Fabric in rn-tester

Pull Request resolved: #32502

Reviewed By: sota000

Differential Revision: D32027858

Pulled By: lunaleaps

fbshipit-source-id: baf5301581e354f588830acd12a5e8171799b1ca
  • Loading branch information
ken0nek authored and facebook-github-bot committed Oct 29, 2021
1 parent 70785e3 commit bbb52aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rn-tester/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ end
def pods()
project 'RNTesterPods.xcodeproj'

puts "Building RNTester with Fabric enabled."
fabric_enabled = true
puts "Building RNTester with Fabric #{fabric_enabled ? "enabled" : "disabled"}."

prefix_path = "../.."
use_react_native!(path: prefix_path, fabric_enabled: fabric_enabled, hermes_enabled: ENV['USE_HERMES'] == '1')
Expand Down

0 comments on commit bbb52aa

Please sign in to comment.