From 1557d9ac24a1c034ce19ea32289b9fe29f38b61d Mon Sep 17 00:00:00 2001 From: willy Date: Wed, 4 Sep 2024 15:44:10 +0900 Subject: [PATCH] feat: fix gitignore --- .../src/review/prompt/constructPrompt/constructPrompt.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/code-review-gpt/src/review/prompt/constructPrompt/constructPrompt.ts b/packages/code-review-gpt/src/review/prompt/constructPrompt/constructPrompt.ts index 93d948f..2cb1627 100644 --- a/packages/code-review-gpt/src/review/prompt/constructPrompt/constructPrompt.ts +++ b/packages/code-review-gpt/src/review/prompt/constructPrompt/constructPrompt.ts @@ -43,8 +43,8 @@ export const constructPromptsArray = ( }); const answerLanguage = process.env.LANGUAGE - ? `Answer me in Korean: ` + ? `, 그리고 앞의 질문에 한글로 답해줘,` : ''; - return [answerLanguage, ...prompts]; + return [...prompts, answerLanguage]; };