Fix Fabric debug message when we set fabric_enabled = false in rn-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: https://github.com/facebook/react-native/pull/32502

Reviewed By: sota000

Differential Revision: D32027858

Pulled By: lunaleaps

fbshipit-source-id: baf5301581e354f588830acd12a5e8171799b1ca
This commit is contained in:
Ken Tominaga
2021-10-29 15:13:09 -07:00
committed by Facebook GitHub Bot
parent 70785e3d5a
commit bbb52aa276
+1 -1
View File
@@ -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')