Skip to content

Commit

Permalink
Frontend lint
Browse files Browse the repository at this point in the history
  • Loading branch information
HoussemNasri committed Jun 6, 2024
1 parent 6124d9c commit 92411ba
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions web/html/src/manager/audit/cveaudit/cveaudit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,9 @@ class CVEAudit extends React.Component<Props, State> {
if (dataSources.length === 0) {
return t("Unknown patch status");
} else if (dataSources.indexOf("OVAL") === -1) {
return t(
"OVAL data out of sync. Potential missed vulnerabilities"
);
return t("OVAL data out of sync. Potential missed vulnerabilities");
} else if (dataSources.indexOf("CHANNELS") === -1) {
return t(
"Server product channels out of sync; no patch information available"
);
return t("Server product channels out of sync; no patch information available");
}

Loggerhead.error(`Invalid scan data sources: ${dataSources}`);
Expand Down

0 comments on commit 92411ba

Please sign in to comment.