Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
fix: Iterate over values directly
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Jul 18, 2021
1 parent 9a640dc commit 22b4bc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/userscript/source/Engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1133,8 +1133,8 @@ export class Engine {
}
}
}
for (var i in toResearch) {
upgradeManager.build(toResearch[i], "policy");
for (const polciy of toResearch) {
upgradeManager.build(polciy, "policy");
}
}

Expand Down

0 comments on commit 22b4bc8

Please sign in to comment.