File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-update-cli" ,
3- "version" : " 1.42.0 " ,
3+ "version" : " 1.42.1 " ,
44 "description" : " Command tools for javaScript updater with `pushy` service for react native apps." ,
55 "main" : " index.js" ,
66 "bin" : {
Original file line number Diff line number Diff line change @@ -102,13 +102,13 @@ async function runReactNativeBundleCommand({
102102
103103 const getRnCli = ( ) => {
104104 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' , {
107107 paths : [ process . cwd ( ) ] ,
108108 } ) ;
109109 } 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' , {
112112 paths : [ process . cwd ( ) ] ,
113113 } ) ;
114114 }
You can’t perform that action at this time.
0 commit comments