Skip to content

Commit

Permalink
[setup-r]: try to unlink brew R silently
Browse files Browse the repository at this point in the history
To avoid #864.
  • Loading branch information
gaborcsardi committed Jul 31, 2024
1 parent f4937e0 commit e2eb9c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup-r/dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion setup-r/dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion setup-r/src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ async function acquireRMacOS(version: IRVersion): Promise<string> {

// Remove homebrew R from the PATH
try {
await exec.exec("brew", ["unlink", "r"]);
await exec.exec("brew", ["unlink", "r"] , { silent: true });
} catch (error) {
core.debug(`${error}`);
}
Expand Down

0 comments on commit e2eb9c9

Please sign in to comment.