From bbb52aa276d47ee4c70e37ba434ad5e47d1206f5 Mon Sep 17 00:00:00 2001 From: Ken Tominaga Date: Fri, 29 Oct 2021 15:11:34 -0700 Subject: [PATCH] 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 [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 --- packages/rn-tester/Podfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rn-tester/Podfile b/packages/rn-tester/Podfile index 2dc16c00437dda..239d7b4f1c71e6 100644 --- a/packages/rn-tester/Podfile +++ b/packages/rn-tester/Podfile @@ -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')