File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " crgpt" ,
3
- "version" : " 1.2.0 " ,
3
+ "version" : " 1.2.1 " ,
4
4
"description" : " CLI tool that leverages ChatGPT API to perform code reviews and providing suggestions for improving code quality." ,
5
5
"keywords" : [
6
6
" crgpt" ,
Original file line number Diff line number Diff line change @@ -23,16 +23,16 @@ Instructions:
23
23
` ;
24
24
25
25
const DEFAULT_SUMMARY = `
26
- ## What Changed:
26
+ ### What Changed:
27
27
- Summarize the changes made in general.
28
28
- Describe what was added, removed, or modified in a bullet list.
29
29
30
- ## What's Wrong:
30
+ ### What's Wrong:
31
31
- Identify any issues or problems in the code.
32
32
- Point out any potential errors, bugs, or inconsistencies.
33
33
- Highlight any potential risks or side effects.
34
34
35
- ## Recommendations:
35
+ ### Recommendations:
36
36
- Provide recommendations or suggestions for improvement, Only actionable feedback, no general comments.
37
37
- Given clear and concise suggestions for improvement, no vague or ambiguous feedback.
38
38
- Include any specific tasks or action items that need to be addressed.
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ async function summarizeCRContent(
98
98
) : Promise < ReviewSumary > {
99
99
const header = '# Code Review Summary:' ;
100
100
const fileSummaries = results
101
- . map ( ( { file, review } ) => `### ${ file } \n \n${ review } ` )
101
+ . map ( ( { file, review } ) => `## ${ file } \n \n${ review } ` )
102
102
. join ( '\n\n---\n\n' ) ;
103
103
const content = `${ header } \n\n${ fileSummaries } ` ;
104
104
You can’t perform that action at this time.
0 commit comments