@bravemobile/react-native-code-push 8.3.0 → 8.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -98,10 +98,7 @@ public class CodePushUpdateUtils {
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
public static void copyNecessaryFilesFromCurrentPackage(String diffManifestFilePath, String currentPackageFolderPath, String newPackageFolderPath) throws IOException {
|
|
101
|
-
|
|
102
|
-
CodePushUtils.log("Unable to copy files from current package during diff update, because currentPackageFolderPath is invalid.");
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
101
|
+
FileUtils.copyDirectoryContents(currentPackageFolderPath, newPackageFolderPath);
|
|
105
102
|
JSONObject diffManifest = CodePushUtils.getJsonObjectFromFile(diffManifestFilePath);
|
|
106
103
|
try {
|
|
107
104
|
JSONArray deletedFiles = diffManifest.getJSONArray("deletedFiles");
|