You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/services/ios-project-service.ts
-30Lines changed: 0 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -453,36 +453,6 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
453
453
}).future<boolean>()();
454
454
}
455
455
456
-
// Is this used?
457
-
// public updatePlatform(currentVersion: string, newVersion: string, canUpdate: boolean): IFuture<boolean> {
458
-
// return (() => {
459
-
// if (!canUpdate) {
460
-
// let isUpdateConfirmed = this.$prompter.confirm(`We need to override xcodeproj file. The old one will be saved at ${this.$options.profileDir}. Are you sure?`, () => true).wait();
461
-
// if (isUpdateConfirmed) {
462
-
// // Copy old file to options["profile-dir"]
463
-
// let sourceDir = this.xcodeprojPath;
464
-
// let destinationDir = path.join(this.$options.profileDir, "xcodeproj");
// assert.strictEqual(isDeleteDirectoryCalledForNodeModulesDir, true, "When correct path is returned, template's node_modules directory should be deleted.");
105
-
// });
106
-
107
-
// it("when after npm install the temp directory has only one subdir and it is node_modules", () =>{
// assert.strictEqual(isDeleteDirectoryCalledForNodeModulesDir, true, "When correct path is returned, template's node_modules directory should be deleted.");
0 commit comments