Commit 5d30da67 authored by Lukas Eipert's avatar Lukas Eipert

fix eslint errors

parent 16859d83
......@@ -178,7 +178,7 @@ export default {
}
return sprintf(
n__('%{type} detected 1 vulnerability', '%{type} detected %{vulnerabilityCount} vulnerabilities', issuesCount),
{ type: type, vulnerabilityCount: issuesCount },
{ type, vulnerabilityCount: issuesCount },
);
},
translateText(type) {
......
......@@ -272,7 +272,7 @@ export const textBuilder = (
'%{type} detected %{vulnerabilityCount} vulnerabilities for the source branch only',
newIssues,
),
{ type: type, vulnerabilityCount: newIssues },
{ type, vulnerabilityCount: newIssues },
);
}
......@@ -291,7 +291,7 @@ export const textBuilder = (
'%{type} detected %{vulnerabilityCount} new vulnerabilities',
newIssues,
),
{ type: type, vulnerabilityCount: newIssues },
{ type, vulnerabilityCount: newIssues },
);
}
......@@ -303,7 +303,7 @@ export const textBuilder = (
'%{type} detected %{vulnerabilityCount} new vulnerabilities',
newIssues,
),
{ type: type, vulnerabilityCount: newIssues },
{ type, vulnerabilityCount: newIssues },
)}
${n__('and 1 fixed vulnerability', 'and %d fixed vulnerabilities', resolvedIssues)}`;
}
......@@ -316,7 +316,7 @@ export const textBuilder = (
'%{type} detected %{vulnerabilityCount} fixed vulnerabilities',
resolvedIssues,
),
{ type: type, vulnerabilityCount: resolvedIssues },
{ type, vulnerabilityCount: resolvedIssues },
);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment