Skip to content

Commit 0a89810

Browse files
committed
Follow-up to #235
Use `$()` instead of backticks (#235)
1 parent 2856c95 commit 0a89810

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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"

packages/host/src/node/gradle.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe(
3838
);
3939
assert.match(
4040
stderr,
41-
/export REACT_NATIVE_OVERRIDE_HERMES_DIR=`npx react-native-node-api vendor-hermes --silent --force`/,
41+
/export REACT_NATIVE_OVERRIDE_HERMES_DIR=\$\(npx react-native-node-api vendor-hermes --silent --force\)/,
4242
);
4343
assert.match(
4444
stderr,

0 commit comments

Comments
 (0)