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

fix eslint errors

parent 16859d83
...@@ -178,7 +178,7 @@ export default { ...@@ -178,7 +178,7 @@ export default {
} }
return sprintf( return sprintf(
n__('%{type} detected 1 vulnerability', '%{type} detected %{vulnerabilityCount} vulnerabilities', issuesCount), n__('%{type} detected 1 vulnerability', '%{type} detected %{vulnerabilityCount} vulnerabilities', issuesCount),
{ type: type, vulnerabilityCount: issuesCount }, { type, vulnerabilityCount: issuesCount },
); );
}, },
translateText(type) { translateText(type) {
......
...@@ -272,7 +272,7 @@ export const textBuilder = ( ...@@ -272,7 +272,7 @@ export const textBuilder = (
'%{type} detected %{vulnerabilityCount} vulnerabilities for the source branch only', '%{type} detected %{vulnerabilityCount} vulnerabilities for the source branch only',
newIssues, newIssues,
), ),
{ type: type, vulnerabilityCount: newIssues }, { type, vulnerabilityCount: newIssues },
); );
} }
...@@ -291,7 +291,7 @@ export const textBuilder = ( ...@@ -291,7 +291,7 @@ export const textBuilder = (
'%{type} detected %{vulnerabilityCount} new vulnerabilities', '%{type} detected %{vulnerabilityCount} new vulnerabilities',
newIssues, newIssues,
), ),
{ type: type, vulnerabilityCount: newIssues }, { type, vulnerabilityCount: newIssues },
); );
} }
...@@ -303,7 +303,7 @@ export const textBuilder = ( ...@@ -303,7 +303,7 @@ export const textBuilder = (
'%{type} detected %{vulnerabilityCount} new vulnerabilities', '%{type} detected %{vulnerabilityCount} new vulnerabilities',
newIssues, newIssues,
), ),
{ type: type, vulnerabilityCount: newIssues }, { type, vulnerabilityCount: newIssues },
)} )}
${n__('and 1 fixed vulnerability', 'and %d fixed vulnerabilities', resolvedIssues)}`; ${n__('and 1 fixed vulnerability', 'and %d fixed vulnerabilities', resolvedIssues)}`;
} }
...@@ -316,7 +316,7 @@ export const textBuilder = ( ...@@ -316,7 +316,7 @@ export const textBuilder = (
'%{type} detected %{vulnerabilityCount} fixed vulnerabilities', '%{type} detected %{vulnerabilityCount} fixed vulnerabilities',
resolvedIssues, 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