style: prettier pass

This commit is contained in:
wdawdwa committed 2026-08-23 11:56:12 +08:00
1 parent 31ff19e73d
commit 8304c983fb
4 files changed
+7 -6

No files matched your search

-1
View File
@@ -198,7 +198,6 @@ async function hasExistingReply(
return comments.some((comment) => comment.body?.includes(marker));
}
export function chatReplyLanguageInstruction(commentBody: string): string {
const language = /\p{Script=Han}/u.test(commentBody) ? "Chinese" : "English";
return `Reply in ${language}. Determine the reply language only from the user's latest comment; do not switch languages because the PR title, description, repository files, patch, repository knowledge, or tool output uses another language.`;
-1
View File
@@ -1104,7 +1104,6 @@ async function getLatestBotReviewOutcomeForHead(
return null;
}
async function submitReview(
octokit: Octokit,
params: {
-1
View File
@@ -358,7 +358,6 @@ async function listIssueComments(
}));
}
async function loadReadme(octokit: Octokit, owner: string, repo: string): Promise<string> {
try {
const { data } = await octokit.rest.repos.getReadme({ owner, repo });