mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-21 01:56:47 +00:00
Remove replace
This commit is contained in:
parent
51b69a7b81
commit
49aa7076b5
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue