appease linter
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ export async function commentPr(
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
let commentBody = `${commentContent}\n\n${COMMENT_MARKER}`
|
const commentBody = `${commentContent}\n\n${COMMENT_MARKER}`
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const existingCommentId = await findCommentByMarker(COMMENT_MARKER)
|
const existingCommentId = await findCommentByMarker(COMMENT_MARKER)
|
||||||
|
|||||||
+4
-4
@@ -20,7 +20,7 @@ export function addSummaryToSummary(
|
|||||||
scorecard: Scorecard,
|
scorecard: Scorecard,
|
||||||
config: ConfigurationOptions
|
config: ConfigurationOptions
|
||||||
): string {
|
): string {
|
||||||
let out: string[] = []
|
const out: string[] = []
|
||||||
|
|
||||||
const scorecardWarnings = countScorecardWarnings(scorecard, config)
|
const scorecardWarnings = countScorecardWarnings(scorecard, config)
|
||||||
const licenseIssues = countLicenseIssues(invalidLicenseChanges)
|
const licenseIssues = countLicenseIssues(invalidLicenseChanges)
|
||||||
@@ -92,9 +92,9 @@ export function addSummaryToSummary(
|
|||||||
]
|
]
|
||||||
|
|
||||||
core.summary.addList(summaryList)
|
core.summary.addList(summaryList)
|
||||||
summaryList.forEach(line => {
|
for (const line of summaryList) {
|
||||||
out.push('* ' + line)
|
out.push(`* ${line}`)
|
||||||
})
|
}
|
||||||
|
|
||||||
core.summary.addRaw('See the Details below.')
|
core.summary.addRaw('See the Details below.')
|
||||||
out.push(
|
out.push(
|
||||||
|
|||||||
Reference in New Issue
Block a user