( status )
| 58 | |
| 59 | |
| 60 | export function getStatusName ( status ) { |
| 61 | for (const key in statusesByIcon) { |
| 62 | if (status.trim().startsWith( key )) return statusesByIcon[key] |
| 63 | } |
| 64 | |
| 65 | throw new Error('Non status matched') |
| 66 | } |
| 67 | |
| 68 | export function getStatusOfScan ( appScan, includeVersion = true ) { |
| 69 | const statusName = getStatusName( appScan['Result'] ) |
no outgoing calls
no test coverage detected