fix main bundle search regression

This commit is contained in:
Geoffrey Goh
2016-08-31 16:27:42 -07:00
parent cf3551fe88
commit cb7480f12f

View File

@@ -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];
}