cciwon-code-review-cli 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/chat-mode.js +6 -5
- package/package.json +1 -1
package/lib/chat-mode.js
CHANGED
|
@@ -160,13 +160,14 @@ class ChatMode {
|
|
|
160
160
|
// 서버에 리뷰 요청
|
|
161
161
|
console.log(chalk.gray(`🚀 서버로 리뷰 요청 중...`));
|
|
162
162
|
const result = await this.client.reviewCode(content, language);
|
|
163
|
-
const reveiwTextOnly =
|
|
164
|
-
parserDiffAndShowInVSCode(result.reivew, filePath);
|
|
165
|
-
console.log(reviewTextOnly);
|
|
166
163
|
console.log(chalk.gray(`✓ 리뷰 완료\n`));
|
|
167
164
|
|
|
168
|
-
//
|
|
169
|
-
|
|
165
|
+
// diff를 파싱하고 VSCode로 표시, 리뷰 텍스트만 반환
|
|
166
|
+
const reviewTextOnly = parseDiffAndShowInVSCode(result.review, filePath);
|
|
167
|
+
|
|
168
|
+
// 결과 출력 (리뷰 텍스트만)
|
|
169
|
+
console.log(chalk.bold.cyan('=== 코드 리뷰 결과 ==='));
|
|
170
|
+
console.log(reviewTextOnly);
|
|
170
171
|
console.log('');
|
|
171
172
|
|
|
172
173
|
} catch (error) {
|