From 7809502450c95f7ad58a65e2ef92433ea7e35ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Wed, 19 Jun 2024 04:13:38 -0700 Subject: [PATCH] Make the instructions to regenerate feature flags easier to see in the docs (#45059) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45059 Changelog: [internal] By moving the command to a code block it's going to be easier to see it when quickly reading the README. Reviewed By: cortinico Differential Revision: D58779883 fbshipit-source-id: e912a58641245c6d7dc158f7af0a722e438a0cc3 --- packages/react-native/scripts/featureflags/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/react-native/scripts/featureflags/README.md b/packages/react-native/scripts/featureflags/README.md index 7cb68fec0811e1..b39adfbda6ab4a 100644 --- a/packages/react-native/scripts/featureflags/README.md +++ b/packages/react-native/scripts/featureflags/README.md @@ -32,9 +32,13 @@ module.exports = { }; ``` -After any changes to this definitions, the code that provides access to them -must be regenerated running `yarn featureflags-update` from the `react-native` -repository. +**After any change to these definitions**, the code that provides access to them +must be regenerated running this from the `react-native` +repository: + +```shell +yarn featureflags-update +``` ## Access