mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 23:59:42 +08:00
Fix bug with diff updates causing failed rollbacks
Fixes https://github.com/Microsoft/react-native-code-push/issues/119
This commit is contained in:
@@ -434,7 +434,7 @@ NSString * const UnzippedFolderName = @"unzipped";
|
||||
}
|
||||
}
|
||||
|
||||
[[NSFileManager defaultManager] moveItemAtPath:fullFilePath toPath:destFileName error:error];
|
||||
[[NSFileManager defaultManager] copyItemAtPath:fullFilePath toPath:destFileName error:error];
|
||||
if (*error) {
|
||||
return;
|
||||
}
|
||||
@@ -513,4 +513,4 @@ NSString * const UnzippedFolderName = @"unzipped";
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user