Refactor for ... in loops

This commit is contained in:
nickofolas
2022-01-15 18:45:03 -06:00
parent d5c3d89613
commit ab841f7530
54 changed files with 128 additions and 130 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ function evaluateVersionCompatibility(ver: string | number): void {
}
// The "companyName" property of all Companies is renamed to "name"
for (const companyName in Companies) {
for (const companyName of Object.keys(Companies)) {
const company: any = Companies[companyName];
if (company.name == 0 && company.companyName != null) {
company.name = company.companyName;