Skip to content

Commit

Permalink
Merge pull request #120 from Microsoft/fix-diff-update-bug
Browse files Browse the repository at this point in the history
Fix bug with diff updates causing failed rollbacks
  • Loading branch information
geof90 committed Dec 20, 2015
2 parents cc8faf0 + 0d709ac commit 39679ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CodePushPackage.m
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ + (void)copyEntriesInFolder:(NSString *)sourceFolder
}
}

[[NSFileManager defaultManager] moveItemAtPath:fullFilePath toPath:destFileName error:error];
[[NSFileManager defaultManager] copyItemAtPath:fullFilePath toPath:destFileName error:error];
if (*error) {
return;
}
Expand Down Expand Up @@ -513,4 +513,4 @@ + (void)clearTestUpdates
}
}

@end
@end
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-code-push",
"version": "1.5.1-beta",
"version": "1.5.2-beta",
"description": "React Native plugin for the CodePush service",
"main": "CodePush.js",
"homepage": "https://microsoft.github.io/code-push",
Expand All @@ -22,4 +22,4 @@
"devDependencies": {
"react-native": "0.15.0"
}
}
}

0 comments on commit 39679ed

Please sign in to comment.