Skip to content

Commit 960b49b

Browse files
author
Maxim Lobanov
committed
Update installer.ts
1 parent b3b663d commit 960b49b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/installer.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ export class CocoapodsInstaller {
1313
return;
1414
}
1515

16-
const uninstallExitCode = await exec.exec("gem", ["uninstall", "cocoapods", "--all", "--executables"]).catch(error => error);
17-
if (uninstallExitCode !== 0) {
18-
core.info("Error during deleting existing version of cocoapods");
19-
}
16+
await exec.exec("gem", ["uninstll", "cocoapods", "--all", "--executables"]);
2017

2118
const installExitCode = await exec.exec("gem", ["install", "cocoapods", "-v", versionSpec]);
2219
if (installExitCode !== 0) {

0 commit comments

Comments
 (0)