Skip to content

Commit 2856c95

Browse files
authored
Use $() instead of backticks (#235)
* Update build.gradle to use $() instead of backticks * Update ANDROID docs
1 parent 90a1471 commit 2856c95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/ANDROID.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This will print a path which needs to be stored in `REACT_NATIVE_OVERRIDE_HERMES
3434
This can be combined into a single line:
3535
3636
```
37-
export REACT_NATIVE_OVERRIDE_HERMES_DIR=`npx react-native-node-api vendor-hermes --silent`
37+
export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent)
3838
```
3939
4040
## Cleaning your React Native build folders

packages/host/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ task checkHermesOverride {
142142
"React Native Node-API needs a custom version of Hermes with Node-API enabled.",
143143
"Run the following in your terminal, to clone Hermes and instruct React Native to use it:",
144144
"",
145-
"export REACT_NATIVE_OVERRIDE_HERMES_DIR=`npx react-native-node-api vendor-hermes --silent --force`",
145+
"export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent --force)",
146146
"",
147147
"And follow this guide to build React Native from source:",
148148
"https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source"

0 commit comments

Comments
 (0)