remove superfluous logging
This commit is contained in:
Родитель
f1e07746e2
Коммит
ab1d6ff610
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче