Skip to content

Commit 3d9d5b3

Browse files
birdofpreyrulunaleaps
authored andcommitted
Patches with-environment.sh script (#42184)
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
1 parent 36a4a24 commit 3d9d5b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/scripts/xcode/with-environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# ./with-environment.sh command
1414

1515
# Start with a default
16-
NODE_BINARY=$(command -v node)
16+
NODE_BINARY=$(command -v node || echo "")
1717
export NODE_BINARY
1818

1919
# Override the default with the global environment

0 commit comments

Comments
 (0)