We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3297ac9 commit 89e0c5fCopy full SHA for 89e0c5f
1 file changed
scripts/generate-specs.sh
@@ -62,6 +62,12 @@ main() {
62
exit 1
63
fi
64
65
+ # Make sure we're in the directory where the React Native binary lives.
66
+ # Works around issues where the user's .bashrc has a "cd XXX"
67
+ # and should be removable in 0.65 since this script has its logic
68
+ # changed significantly
69
+ cd "$RN_DIR/../.." || exit 1
70
+
71
CODEGEN_PATH=$("$NODE_BINARY" -e "console.log(require('path').dirname(require.resolve('react-native-codegen/package.json')))")
72
73
# Special case for running CodeGen from source: build it
0 commit comments