Skip to content

Commit

Permalink
Debug with console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
andreslucena committed Jul 10, 2023
1 parent 99b0456 commit ff7ed64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/playbook-changer.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ fs.readFile(antoraPlaybook, "utf8", function (err,data) {
}

let result = data.replace(baseRef, headRef);
console.log(url);
if (url != undefined) {
result = result.replace("https://github.com/decidim/documentation", url);
}

console.log(result);

fs.writeFile(antoraPlaybook, result, "utf8", function (err) {
if (err) {
return console.err(err);
Expand Down

0 comments on commit ff7ed64

Please sign in to comment.