File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-update-cli" ,
3
- "version" : " 1.42.0 " ,
3
+ "version" : " 1.42.1 " ,
4
4
"description" : " Command tools for javaScript updater with `pushy` service for react native apps." ,
5
5
"main" : " index.js" ,
6
6
"bin" : {
Original file line number Diff line number Diff line change @@ -102,13 +102,13 @@ async function runReactNativeBundleCommand({
102
102
103
103
const getRnCli = ( ) => {
104
104
try {
105
- // rn >= 0.75
106
- cliPath = require . resolve ( '@ react-native-community/ cli/build/bin .js' , {
105
+ // rn < 0.75
106
+ cliPath = require . resolve ( 'react-native/local- cli/cli .js' , {
107
107
paths : [ process . cwd ( ) ] ,
108
108
} ) ;
109
109
} catch ( e ) {
110
- // rn < 0.75
111
- cliPath = require . resolve ( 'react-native/local-cli /cli.js' , {
110
+ // rn >= 0.75
111
+ cliPath = require . resolve ( '@ react-native-community /cli/build/bin .js' , {
112
112
paths : [ process . cwd ( ) ] ,
113
113
} ) ;
114
114
}
You can’t perform that action at this time.
0 commit comments