Skip to content

Commit

Permalink
Patches with-environment.sh script (#42184)
Browse files Browse the repository at this point in the history
Summary:
Closes #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: #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 facebook-github-bot committed Jan 8, 2024
1 parent fe0306d commit c684f9f
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 c684f9f

Please # to comment.