Skip to content

Commit 39679ed

Browse files
committed
Merge pull request #120 from Microsoft/fix-diff-update-bug
Fix bug with diff updates causing failed rollbacks
2 parents cc8faf0 + 0d709ac commit 39679ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CodePushPackage.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ + (void)copyEntriesInFolder:(NSString *)sourceFolder
434434
}
435435
}
436436

437-
[[NSFileManager defaultManager] moveItemAtPath:fullFilePath toPath:destFileName error:error];
437+
[[NSFileManager defaultManager] copyItemAtPath:fullFilePath toPath:destFileName error:error];
438438
if (*error) {
439439
return;
440440
}
@@ -513,4 +513,4 @@ + (void)clearTestUpdates
513513
}
514514
}
515515

516-
@end
516+
@end

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-code-push",
3-
"version": "1.5.1-beta",
3+
"version": "1.5.2-beta",
44
"description": "React Native plugin for the CodePush service",
55
"main": "CodePush.js",
66
"homepage": "https://microsoft.github.io/code-push",
@@ -22,4 +22,4 @@
2222
"devDependencies": {
2323
"react-native": "0.15.0"
2424
}
25-
}
25+
}

0 commit comments

Comments
 (0)