Skip to content

Commit

Permalink
Restore CLI_PATH variable in react-native-xcode script
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel committed Jul 20, 2024
1 parent 9af6395 commit 9d2ac3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-native/scripts/react-native-xcode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ fi

[ -z "$NODE_ARGS" ] && export NODE_ARGS=""

[ -z "$BUNDLE_COMMAND" ] && BUNDLE_COMMAND="bundle"
[ -z "$CLI_PATH" ] && CLI_PATH="$REACT_NATIVE_DIR/scripts/bundle.js"

[ -z "$COMPOSE_SOURCEMAP_PATH" ] && COMPOSE_SOURCEMAP_PATH="$REACT_NATIVE_DIR/scripts/compose-source-maps.js"

Expand Down Expand Up @@ -147,7 +147,7 @@ else
fi

# shellcheck disable=SC2086
"$NODE_BINARY" $NODE_ARGS "$REACT_NATIVE_DIR/scripts/bundle.js" \
"$NODE_BINARY" $NODE_ARGS "$CLI_PATH" $BUNDLE_COMMAND \
$CONFIG_ARG \
--config-cmd "$CONFIG" \
--entry-file "$ENTRY_FILE" \
Expand Down

0 comments on commit 9d2ac3b

Please sign in to comment.