Skip to content

Commit e985cfe

Browse files
author
Maxim Lobanov
committed
Remove debug lines
1 parent 7b8a0ff commit e985cfe

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

__tests__/installer.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe("CocoapodsInstaller", () => {
2121
CocoapodsInstaller["getInstalledVersion"] = jest.fn().mockReturnValue("1.8.5");
2222
await CocoapodsInstaller.install("1.9.1");
2323
expect(execCommandSpy).toHaveBeenCalledWith("gem", ["uninstall", "cocoapods", expect.any(String), expect.any(String)]);
24-
expect(execCommandSpy).toHaveBeenCalledWith("gem", ["install", "cocoapods", expect.any(String), expect.any(String)]);
24+
expect(execCommandSpy).toHaveBeenCalledWith("gem", ["install", "cocoapods", expect.any(String), expect.any(String), expect.any(String)]);
2525
});
2626

2727
it("version has already installed", async () => {

dist/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,6 @@ class CocoapodsInstaller {
15141514
}
15151515
// Remove pre-installed version of Cocoapods
15161516
exec.exec("gem", ["uninstall", "cocoapods", "--all", "--executables"]);
1517-
core.info("debug");
15181517
// Install new version of Cocoapods
15191518
const versionArguments = (versionSpec === "latest") ? [] : ["-v", versionSpec];
15201519
await exec.exec("gem", ["install", "cocoapods", ...versionArguments, "--no-document"]);

src/installer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export class CocoapodsInstaller {
1818
// Remove pre-installed version of Cocoapods
1919
exec.exec("gem", ["uninstall", "cocoapods", "--all", "--executables"]);
2020

21-
core.info("debug");
2221
// Install new version of Cocoapods
2322
const versionArguments = (versionSpec === "latest") ? [] : ["-v", versionSpec];
2423
await exec.exec("gem", ["install", "cocoapods", ...versionArguments, "--no-document"]);

0 commit comments

Comments
 (0)