Skip to content

Commit bb7f581

Browse files
authored
Apply suggestions from code review
1 parent 7f1bf7a commit bb7f581

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

platform-includes/debug-symbols-apple/_default.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,9 @@ Another option is to use warnings, and then set `GCC_TREAT_WARNINGS_AS_ERRORS` t
9595
<OrgAuthTokenNote />
9696

9797
```bash {tabTitle:Warn on failures - nonblocking}
98-
#Uncomment the following lines if you installed sentry-cli via Homebrew in a Apple Silicon Mac
99-
#if [[ "$(uname -m)" == arm64 ]]; then
100-
# export PATH="/opt/homebrew/bin:$PATH"
101-
#fi
98+
if [[ "$(uname -m)" == arm64 ]]; then
99+
export PATH="/opt/homebrew/bin:$PATH"
100+
fi
102101

103102
if which sentry-cli >/dev/null; then
104103
export SENTRY_ORG=___ORG_SLUG___
@@ -114,10 +113,9 @@ fi
114113
```
115114

116115
```bash {tabTitle:Error on failures - blocking}
117-
#Uncomment the following lines if you installed sentry-cli via Homebrew in a Apple Silicon Mac
118-
#if [[ "$(uname -m)" == arm64 ]]; then
119-
# export PATH="/opt/homebrew/bin:$PATH"
120-
#fi
116+
if [[ "$(uname -m)" == arm64 ]]; then
117+
export PATH="/opt/homebrew/bin:$PATH"
118+
fi
121119

122120
if which sentry-cli >/dev/null; then
123121
export SENTRY_ORG=___ORG_SLUG___

platform-includes/source-context/apple.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@ You can upload your sources to Sentry after every build through Xcode. To do thi
4848
<OrgAuthTokenNote />
4949

5050
```bash {tabTitle:Warn on failures - nonblocking}
51-
#Uncomment the following lines if you installed sentry-cli via Homebrew in a Apple Silicon Mac
52-
#if [[ "$(uname -m)" == arm64 ]]; then
53-
# export PATH="/opt/homebrew/bin:$PATH"
54-
#fi
51+
if [[ "$(uname -m)" == arm64 ]]; then
52+
export PATH="/opt/homebrew/bin:$PATH"
53+
fi
5554

5655
if which sentry-cli >/dev/null; then
5756
export SENTRY_ORG=___ORG_SLUG___
@@ -67,10 +66,9 @@ fi
6766
```
6867

6968
```bash {tabTitle:Error on failures - blocking}
70-
#Uncomment the following lines if you installed sentry-cli via Homebrew in a Apple Silicon Mac
71-
#if [[ "$(uname -m)" == arm64 ]]; then
72-
# export PATH="/opt/homebrew/bin:$PATH"
73-
#fi
69+
if [[ "$(uname -m)" == arm64 ]]; then
70+
export PATH="/opt/homebrew/bin:$PATH"
71+
fi
7472

7573
if which sentry-cli >/dev/null; then
7674
export SENTRY_ORG=___ORG_SLUG___

0 commit comments

Comments
 (0)