We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28702d7 commit e5bf483Copy full SHA for e5bf483
index.js
@@ -58,7 +58,7 @@ async function renderComment(data) {
58
const octokit = github.getOctokit(GITHUB_TOKEN, {log: console});
59
const context = github.context;
60
61
- let markdown = await ejs.renderFile('./templates/comment.md', data);
+ let markdown = await ejs.renderFile(`${__dirname}/templates/comment.md`, data);
62
markdown
63
.replace(/\%/g, '%25')
64
.replace(/\n/g, '%0A')
0 commit comments