Skip to content

Commit 5a8e7dd

Browse files
committed
Sync with latest common lib
1 parent 283ec8d commit 5a8e7dd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/services/platform-service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ export class PlatformService implements IPlatformService {
415415
}
416416

417417
if(semver.gt(currentVersion, newVersion)) { // Downgrade
418-
var isUpdateConfirmed = this.$prompter.confirm(util.format("You are going to downgrade to android runtime v.%s. Are you sure?", newVersion), () => "n").wait();
418+
var isUpdateConfirmed = this.$prompter.confirm(util.format("You are going to downgrade to android runtime v.%s. Are you sure?", newVersion), () => false).wait();
419419
if(isUpdateConfirmed) {
420420
this.updatePlatformCore(platformData, currentVersion, newVersion).wait();
421421
}
@@ -425,7 +425,7 @@ export class PlatformService implements IPlatformService {
425425
this.updatePlatformCore(platformData, currentVersion, newVersion).wait();
426426
}
427427
} else {
428-
var isUpdateConfirmed = this.$prompter.confirm(util.format("We need to override xcodeproj file. The old one will be saved at %s. Are you sure?", options.profileDir), () => "y").wait();
428+
var isUpdateConfirmed = this.$prompter.confirm(util.format("We need to override xcodeproj file. The old one will be saved at %s. Are you sure?", options.profileDir), () => true).wait();
429429
if(isUpdateConfirmed) {
430430
platformData.platformProjectService.updatePlatform(currentVersion, newVersion).wait();
431431
this.updatePlatformCore(platformData, currentVersion, newVersion).wait();

0 commit comments

Comments
 (0)