File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export async function commentPr(
36
36
return
37
37
}
38
38
39
- let commentBody = `${ commentContent } \n\n${ COMMENT_MARKER } `
39
+ const commentBody = `${ commentContent } \n\n${ COMMENT_MARKER } `
40
40
41
41
try {
42
42
const existingCommentId = await findCommentByMarker ( COMMENT_MARKER )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export function addSummaryToSummary(
20
20
scorecard : Scorecard ,
21
21
config : ConfigurationOptions
22
22
) : string {
23
- let out : string [ ] = [ ]
23
+ const out : string [ ] = [ ]
24
24
25
25
const scorecardWarnings = countScorecardWarnings ( scorecard , config )
26
26
const licenseIssues = countLicenseIssues ( invalidLicenseChanges )
@@ -92,9 +92,9 @@ export function addSummaryToSummary(
92
92
]
93
93
94
94
core . summary . addList ( summaryList )
95
- summaryList . forEach ( line => {
96
- out . push ( '* ' + line )
97
- } )
95
+ for ( const line of summaryList ) {
96
+ out . push ( `* ${ line } ` )
97
+ }
98
98
99
99
core . summary . addRaw ( 'See the Details below.' )
100
100
out . push (
You can’t perform that action at this time.
0 commit comments