mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-08 06:55:16 +08:00
Fix version detection
This commit is contained in:
@@ -394,7 +394,7 @@ export const commands = {
|
||||
}
|
||||
|
||||
if (major === 0) {
|
||||
if (minor >= 0.59) {
|
||||
if (minor >= 59) {
|
||||
Config = require(path.resolve('node_modules/@react-native-community/cli/build/tools/loadMetroConfig'));
|
||||
bundle = require(path.resolve('node_modules/@react-native-community/cli/build/commands/bundle/bundle')).default;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user