mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
Converts forEach loop to for...of loop
This commit is contained in:
parent
be841a3de3
commit
a4d2013ff6
@ -213,11 +213,10 @@ export class PreAkiModLoader implements IModLoader
|
|||||||
validMods.sort((prev, next) => this.sortMods(prev, next, missingFromOrderJSON));
|
validMods.sort((prev, next) => this.sortMods(prev, next, missingFromOrderJSON));
|
||||||
|
|
||||||
// log the missing mods from order.json
|
// log the missing mods from order.json
|
||||||
Object.keys(missingFromOrderJSON).forEach((
|
for (const missingMod of Object.keys(missingFromOrderJSON))
|
||||||
missingMod,
|
{
|
||||||
) => (this.logger.debug(
|
this.logger.debug(this.localisationService.getText("modloader-mod_order_missing_from_json", missingMod));
|
||||||
this.localisationService.getText("modloader-mod_order_missing_from_json", missingMod),
|
}
|
||||||
)));
|
|
||||||
|
|
||||||
// add mods
|
// add mods
|
||||||
for (const mod of validMods)
|
for (const mod of validMods)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user