Skip to content

Commit 7a6cb59

Browse files
fix(xcode): node can't be overwritten in sentry-xcode-debug-files.sh (#3523)
1 parent ee8c0d1 commit 7a6cb59

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ see [the Expo guide](https://docs.sentry.io/platforms/react-native/manual-setup/
6363
- Remove Native Modules warning from platform where the absence is expected ([#3466](https://github.com/getsentry/sentry-react-native/pull/3466))
6464
- Add Expo Context information using Expo Native Modules ([#3466](https://github.com/getsentry/sentry-react-native/pull/3466))
6565
- Errors from InternalBytecode.js are no longer marked as in_app ([#3518](https://github.com/getsentry/sentry-react-native/pull/3518))
66+
- Fix system node can't be overwritten in `sentry-xcode-debug-files.sh` ([#3523](https://github.com/getsentry/sentry-react-native/pull/3523))
6667

6768
## 5.16.0-alpha.4
6869

scripts/sentry-xcode-debug-files.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
# print commands before executing them and stop on first error
66
set -x -e
77

8-
LOCAL_NODE_BINARY=${NODE_BINARY:-node}
9-
108
# load envs if loader file exists (since rn 0.68)
119
WITH_ENVIRONMENT="../node_modules/react-native/scripts/xcode/with-environment.sh"
1210
if [ -f "$WITH_ENVIRONMENT" ]; then
1311
. "$WITH_ENVIRONMENT"
1412
fi
1513

14+
LOCAL_NODE_BINARY=${NODE_BINARY:-node}
15+
1616
[ -z "$SENTRY_PROPERTIES" ] && export SENTRY_PROPERTIES=sentry.properties
1717

1818
[ -z "$SENTRY_CLI_EXECUTABLE" ] && SENTRY_CLI_PACKAGE_PATH=$("$LOCAL_NODE_BINARY" --print "require('path').dirname(require.resolve('@sentry/cli/package.json'))")

0 commit comments

Comments
 (0)