switch all fe to camelCase

This commit is contained in:
Matt Hill
2024-03-22 12:05:41 -06:00
parent a35baca580
commit 7e9d453a2c
120 changed files with 593 additions and 1739 deletions

View File

@@ -22,12 +22,12 @@ export function renderPkgStatus(
let dependency: DependencyStatus | null = null
let health: HealthStatus | null = null
if (pkg['state-info'].state === PackageState.Installed) {
if (pkg.stateInfo.state === PackageState.Installed) {
primary = getPrimaryStatus(pkg.status)
dependency = getDependencyStatus(depErrors)
health = getHealthStatus(pkg.status)
} else {
primary = pkg['state-info'].state as string as PrimaryStatus
primary = pkg.stateInfo.state as string as PrimaryStatus
}
return { primary, dependency, health }