This commit is contained in:
Geoffrey Goh 2016-04-22 16:54:10 -07:00
Родитель f1e07746e2
Коммит ab1d6ff610
2 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -82,7 +82,6 @@ var LocalPackage = (function (_super) {
var _this = this;
LocalPackage.getCurrentOrDefaultPackage(function (oldPackage) {
LocalPackage.backupPackageInformationFile(function (backupError) {
backupError && CodePushUtil.logMessage("First update: back up package information skipped. ");
_this.writeNewPackageMetadata(deployDir, function (writeMetadataError) {
if (writeMetadataError) {
installError && installError(writeMetadataError);

Просмотреть файл

@ -109,7 +109,6 @@ class LocalPackage extends Package implements ILocalPackage {
private finishInstall(deployDir: DirectoryEntry, installOptions: InstallOptions, installSuccess: SuccessCallback<InstallMode>, installError: ErrorCallback): void {
LocalPackage.getCurrentOrDefaultPackage((oldPackage: LocalPackage) => {
LocalPackage.backupPackageInformationFile((backupError: Error) => {
backupError && CodePushUtil.logMessage("First update: back up package information skipped. ");
/* continue on error, current package information is missing if this is the first update */
this.writeNewPackageMetadata(deployDir, (writeMetadataError: Error) => {
if (writeMetadataError) {