Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
await exec uninstall
  • Loading branch information
pietgk authored Jun 13, 2023
1 parent 31e8210 commit 8a15b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class CocoapodsInstaller {
return;
}
// 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];
await exec.exec("gem", ["install", "cocoapods", ...versionArguments, "--no-document"]);
Expand Down Expand Up @@ -4303,4 +4303,4 @@ module.exports = require("util");
/******/ module.exports = __webpack_exports__;
/******/
/******/ })()
;
;

0 comments on commit 8a15b95

Please sign in to comment.