MCPcopy Index your code
hub / github.com/ThatGuySam/doesitarm / getStatusOfScan

Function getStatusOfScan

helpers/statuses.js:68–81  ·  view source on GitHub ↗
( appScan, includeVersion = true )

Source from the content-addressed store, hash-verified

66}
67
68export function getStatusOfScan ( appScan, includeVersion = true ) {
69 const statusName = getStatusName( appScan['Result'] )
70
71 if (statusName === 'native') {
72 return [
73 '✅ Yes, Native Apple Silicon Support',
74 includeVersion ? `reported as of v${appScan['App Version']}` : ''
75 ].join('')
76 }
77
78
79
80 return '🔶 App has not yet been reported to be native to Apple Silicon'
81}
82
83
84export default statusesByIcon

Callers

nothing calls this directly

Calls 1

getStatusNameFunction · 0.85

Tested by

no test coverage detected