Patches with-environment.sh script (#42184)

Summary:
Closes https://github.com/facebook/react-native/issues/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: https://github.com/facebook/react-native/pull/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
This commit is contained in:
Dr. Sergey Pogodin
2024-01-08 08:52:51 -08:00
committed by Facebook GitHub Bot
parent fe0306d637
commit c684f9fc62
@@ -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