We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 397ba31 commit 9b185d5Copy full SHA for 9b185d5
packages/core/src/lib/implementation/execute-plugin.ts
@@ -79,12 +79,12 @@ export async function executePlugin(
79
}
80
81
// transform audit scores to 1 when they meet/exceed scoreTarget
82
- const transformedAudits = scoreTarget
+ const scoredAuditsWithTarget = scoreTarget
83
? scoreAuditsWithTarget(audits, scoreTarget)
84
: audits;
85
86
// enrich `AuditOutputs` to `AuditReport`
87
- const auditReports: AuditReport[] = transformedAudits.map(
+ const auditReports: AuditReport[] = scoredAuditsWithTarget.map(
88
(auditOutput: AuditOutput) => ({
89
...auditOutput,
90
...(pluginConfigAudits.find(
0 commit comments