diff --git a/src/main.ts b/src/main.ts index 5c0c437..897b40d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -85,7 +85,7 @@ function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string { rules === "" ? "" : `Your review will only ensure the following rules are followed: -${rules.replace(/\n/g, "\n- ")}`; +${rules}`; const prompt = `Your name is ${botName}. Your task is to review pull requests. ${rulesPrompt} Here are your instructions regarding the format and the style of the review: