Skip to content

Commit 9b185d5

Browse files
committed
refactor: rename transformedAudits to scoredAuditsWithTarget
1 parent 397ba31 commit 9b185d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/lib/implementation/execute-plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ export async function executePlugin(
7979
}
8080

8181
// transform audit scores to 1 when they meet/exceed scoreTarget
82-
const transformedAudits = scoreTarget
82+
const scoredAuditsWithTarget = scoreTarget
8383
? scoreAuditsWithTarget(audits, scoreTarget)
8484
: audits;
8585

8686
// enrich `AuditOutputs` to `AuditReport`
87-
const auditReports: AuditReport[] = transformedAudits.map(
87+
const auditReports: AuditReport[] = scoredAuditsWithTarget.map(
8888
(auditOutput: AuditOutput) => ({
8989
...auditOutput,
9090
...(pluginConfigAudits.find(

0 commit comments

Comments
 (0)