Skip to content

Commit f0c19f4

Browse files
committed
[setup-r]: fix setting repos option
That I just messed up.
1 parent 8079098 commit f0c19f4

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

setup-r/lib/installer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -526,9 +526,9 @@ function setupRLibrary() {
526526
}
527527
}
528528
if (rspm !== "NULL") {
529-
rspm = rspm.replace(/^'|'$/g, "");
530-
core.exportVariable("RSPM", rspm);
531-
core.exportVariable("RENV_CONFIG_REPOS_OVERRIDE", rspm);
529+
let rspm_noq = rspm.replace(/^'|'$/g, "");
530+
core.exportVariable("RSPM", rspm_noq);
531+
core.exportVariable("RENV_CONFIG_REPOS_OVERRIDE", rspm_noq);
532532
}
533533
let cran = `'${core.getInput("cran") ||
534534
process.env["CRAN"] ||

setup-r/src/installer.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,9 +513,9 @@ async function setupRLibrary() {
513513
}
514514

515515
if (rspm !== "NULL") {
516-
rspm = rspm.replace(/^'|'$/g, "");
517-
core.exportVariable("RSPM", rspm);
518-
core.exportVariable("RENV_CONFIG_REPOS_OVERRIDE", rspm);
516+
let rspm_noq = rspm.replace(/^'|'$/g, "");
517+
core.exportVariable("RSPM", rspm_noq);
518+
core.exportVariable("RENV_CONFIG_REPOS_OVERRIDE", rspm_noq);
519519
}
520520

521521
let cran = `'${core.getInput("cran") ||

0 commit comments

Comments
 (0)