From f8b938a5e6f761f075836aece2ab3ee3c4a2cfaf Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Wed, 8 Jan 2025 19:18:22 +0000 Subject: [PATCH] Silence the `eden info` output from react-native-codegen --- packages/react-native-codegen/scripts/oss/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react-native-codegen/scripts/oss/build.sh b/packages/react-native-codegen/scripts/oss/build.sh index 84daf5dea68..64c22f5a0a6 100755 --- a/packages/react-native-codegen/scripts/oss/build.sh +++ b/packages/react-native-codegen/scripts/oss/build.sh @@ -29,9 +29,9 @@ EDEN_SAFE_MV="mv" if [ -x "$(command -v eden)" ]; then pushd "$THIS_DIR" - # Detect if we are in an EdenFS checkout, but be sure to use /bin/cp - # incase users have GNU coreutils installed which is incompatible with -X - if [[ "$OSTYPE" == "darwin"* ]] && eden info; then + # Detect if we are in an EdenFS checkout with `eden info` (we ignore the output as it creates noise on CI/IDE logs) + # Also be sure to use /bin/cp in case users have GNU coreutils installed which is incompatible with -X + if [[ "$OSTYPE" == "darwin"* ]] && eden info 2>/dev/null; then EDEN_SAFE_MV="/bin/cp -R -X" fi