feat: better code formatting
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export const getRoomCreeps = (room: Room): Record<string, CreepMemory> => {
|
||||
return Object.keys(Memory.creeps)
|
||||
.filter(name => Memory.creeps[name].room === room.name)
|
||||
.filter((name) => Memory.creeps[name].room === room.name)
|
||||
.reduce((creeps: Record<string, CreepMemory>, creepName: string) => {
|
||||
creeps[creepName] = Memory.creeps[creepName];
|
||||
return creeps;
|
||||
|
||||
Reference in New Issue
Block a user