mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-14 02:14:52 +08:00
fix main bundle search regression
This commit is contained in:
@@ -158,10 +158,6 @@ NSString * const ManifestFolderPrefix = @"CodePush";
|
||||
NSString *mainBundlePathInFolder = [self findMainBundleInFolder:fullFilePath
|
||||
expectedFileName:expectedFileName
|
||||
error:error];
|
||||
if (!mainBundlePathInFolder) {
|
||||
return nil;
|
||||
}
|
||||
|
||||
if (mainBundlePathInFolder) {
|
||||
return [fileName stringByAppendingPathComponent:mainBundlePathInFolder];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user