Skip to content

Commit 3b62b40

Browse files
committed
Trimming verbose comments
1 parent a95cc31 commit 3b62b40

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/actions/file/src/index.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {updateFilingsWithNewFindings} from './updateFilingsWithNewFindings.js'
1616
import {OctokitResponse} from '@octokit/types'
1717
const OctokitWithThrottling = Octokit.plugin(throttling)
1818

19-
// core.getBooleanInput throws when an input is unset, so this defaults unset
19+
// Throws when an input is unset, so this defaults unset
2020
// switches while still rejecting values that aren't a valid boolean.
2121
function getBooleanInputWithDefault(name: string, defaultValue: boolean): boolean {
2222
const raw = core.getInput(name)
@@ -75,8 +75,7 @@ export default async function () {
7575
})
7676
const filings = updateFilingsWithNewFindings(cachedFilings, findings)
7777

78-
// Suppressed new filings are kept out of the cache so they aren't seen as
79-
// resolved (and auto-closed) on the next run.
78+
// Suppressed new filings are kept out of the cache
8079
const suppressedFilings = new Set<Filing>()
8180

8281
// Track new issues for grouping
@@ -87,7 +86,7 @@ export default async function () {
8786
for (const filing of filings) {
8887
let response: OctokitResponse<IssueResponse> | undefined
8988
try {
90-
// Category switches gate only NEW issues; existing ones are reconciled normally.
89+
// Category switches gate only new issues
9190
if (isNewFiling(filing)) {
9291
const category = filing.findings[0].category ?? 'wcag'
9392
if (

0 commit comments

Comments
 (0)