Merge pull request #120 from Microsoft/fix-diff-update-bug

Fix bug with diff updates causing failed rollbacks
This commit is contained in:
Geoffrey Goh
2015-12-19 17:49:06 -08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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",
@@ -22,4 +22,4 @@
"devDependencies": {
"react-native": "0.15.0"
}
}
}