Skip to content

Commit

Permalink
Merge pull request #20 from oracle-devrel/node14-replaceall-issue
Browse files Browse the repository at this point in the history
fix tfvars.mjs to use replace with regex instead of replaceAll
  • Loading branch information
WSPluta authored Mar 8, 2024
2 parents 9e26c63 + e2c3a30 commit ec71891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tfvars.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ async function devopsTFvars() {

const githubUser = githubURL.split("/").reverse()[1];

const githubURLEscaped = githubURL.replaceAll("/", "\\/");
const githubURLEscaped = githubURL.replace(/\//g, "\\/");
const replaceCmdURL = `s/GITHUB_REPOSITORY_URL/${githubURLEscaped}/`;

try {
Expand Down

0 comments on commit ec71891

Please sign in to comment.