Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ARADDCC002 committed Dec 9, 2024
1 parent 08540bb commit 92b8fae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backend/src/connectors/fileScanning/clamAv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class ClamAvFileScanningConnector extends BaseFileScanningConnector {
av = await new NodeClam().init({ clamdscan: config.avScanning.clamdscan })
log.info('Clam AV initialised.')
} catch (error) {
log.warn(`Could not intialise Clam AV, retrying (attempt ${retryCount})...`)
log.warn(`Could not initialise Clam AV, retrying (attempt ${retryCount})...`)
this.init(retryCount++)
}
}, 10000)
Expand Down
2 changes: 1 addition & 1 deletion backend/src/connectors/fileScanning/modelScan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class ModelScanFileScanningConnector extends BaseFileScanningConnector {
await getModelScanInfo()
log.info('ModelScan initialised.')
} catch (error) {
log.warn(`Could not intialise ModelScan, retrying (attempt ${retryCount})...`)
log.warn(`Could not initialise ModelScan, retrying (attempt ${retryCount})...`)
this.init(retryCount++)
}
}, 10000)
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/entry/model/releases/FileDownload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ export default function FileDownload({ modelId, file }: FileDownloadProps) {

const chipDetails = useCallback((file: FileInterface): ChipDetails => {
if (file.avScan === undefined) {
return { label: 'Virus scan results could not be found.', colour: 'warning', icon: <Warning /> }
return { label: 'Virus scan results could not be found', colour: 'warning', icon: <Warning /> }
}
if (file.avScan.some((scan) => scan.state === ScanState.Error)) {
return { label: 'One or more virus scanning tools failed.', colour: 'warning', icon: <Warning /> }
return { label: 'One or more virus scanning tools failed', colour: 'warning', icon: <Warning /> }
}
if (threatsFound(file)) {
return {
Expand Down

0 comments on commit 92b8fae

Please sign in to comment.