Skip to content

Commit f6d3892

Browse files
committed
Update prompt
Signed-off-by: adshao <tjusgj@gmail.com>
1 parent 4e1c81e commit f6d3892

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39233,7 +39233,7 @@ async function run() {
3923339233
}
3923439234

3923539235
// Extract the code from the pull request content
39236-
content = `Please anayze the code of the pull request, tell me if the change is good and explain the reason in ${language}:\n\n\`\`\`${code}\`\`\``;
39236+
content = `Please anayze the code of the pull request, tell me if the change is good or is there a bug and explain the reason in ${language}:\n\n\`\`\`${code}\`\`\``;
3923739237
} else {
3923839238
content = content.substring(reviewCommentPrefix.length);
3923939239
}

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async function run() {
4747
}
4848

4949
// Extract the code from the pull request content
50-
content = `Please anayze the code of the pull request, tell me if the change is good and explain the reason in ${language}:\n\n\`\`\`${code}\`\`\``;
50+
content = `Please anayze the code of the pull request, tell me if the change is good or is there a bug and explain the reason in ${language}:\n\n\`\`\`${code}\`\`\``;
5151
} else {
5252
content = content.substring(reviewCommentPrefix.length);
5353
}

0 commit comments

Comments
 (0)