Skip to content

Commit

Permalink
Update installer.ts
Browse files Browse the repository at this point in the history
wait for uninstall to finish
  • Loading branch information
pietgk authored Jun 13, 2023
1 parent 8a15b95 commit 4052a0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class CocoapodsInstaller {
}

// Remove pre-installed version of Cocoapods
exec.exec("gem", ["uninstall", "cocoapods", "--all", "--executables", "--ignore-dependencies"]);
await exec.exec("gem", ["uninstall", "cocoapods", "--all", "--executables", "--ignore-dependencies"]);

// Install new version of Cocoapods
const versionArguments = (versionSpec === "latest") ? [] : ["-v", versionSpec];
Expand All @@ -38,4 +38,4 @@ export class CocoapodsInstaller {

return null;
}
}
}

0 comments on commit 4052a0f

Please sign in to comment.