mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
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
|
||||
|
||||
Reference in New Issue
Block a user