mirror of
https://github.com/ingress-it-solutions/gitea-code-review-action.git
synced 2025-04-19 10:46:45 +00:00
Added Joke and summary in bullet point
This commit is contained in:
parent
179983f8bc
commit
b5d09bfea3
3 changed files with 5 additions and 5 deletions
4
index.js
4
index.js
|
@ -73,7 +73,7 @@ async function run() {
|
|||
|
||||
if (!content || content == fullReviewComment) {
|
||||
// Extract the code from the pull request content
|
||||
content = codeTemplate.replace('${code}', code);
|
||||
content = code;
|
||||
} else {
|
||||
content = content.substring(reviewCommentPrefix.length);
|
||||
content = content.replace('${code}', code);
|
||||
|
@ -108,7 +108,7 @@ async function run() {
|
|||
|
||||
if (!content || content == fullReviewComment) {
|
||||
// Extract the code from the pull request content
|
||||
content = codeTemplate.replace('${code}', code);
|
||||
content = code;
|
||||
} else {
|
||||
content = content.substring(reviewCommentPrefix.length);
|
||||
content = content.replace('${code}', code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue