Skip to content

Commit

Permalink
Patches with-environment.sh script (facebook#42184)
Browse files Browse the repository at this point in the history
Summary:
Closes facebook#42164

## Changelog:

[IOS] [FIXED] - Fixes `with-environment.sh` script for the case when Node can't be found prior to loading `.xcode.env`

Pull Request resolved: facebook#42184

Test Plan: This is a trivial update, no need for much testing.

Reviewed By: cortinico

Differential Revision: D52602653

Pulled By: cipolleschi

fbshipit-source-id: 0881456bf165d895252ae38cb7c7aee945cfaf52
  • Loading branch information
birdofpreyru authored and gokul1099 committed Jan 17, 2024
1 parent 6d2df3b commit c4b9dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/scripts/xcode/with-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# ./with-environment.sh command

# Start with a default
NODE_BINARY=$(command -v node)
NODE_BINARY=$(command -v node || echo "")
export NODE_BINARY

# Override the default with the global environment
Expand Down

0 comments on commit c4b9dd5

Please sign in to comment.