feat: eslint 적용 및 관련 코드 일괄 수정
This commit is contained in:
@@ -61,12 +61,8 @@ export class RepositoryProfileStatusService implements GatewayProfileStatusServi
|
||||
|
||||
async listLobbyProfiles(): Promise<LobbyProfileStatus[]> {
|
||||
const rows = await this.profiles.listProfiles();
|
||||
const runtimeStates = await this.orchestrator.listRuntimeStates(
|
||||
rows.map((profile) => profile.profileName)
|
||||
);
|
||||
const runtimeMap = new Map(
|
||||
runtimeStates.map((state) => [state.profileName, state])
|
||||
);
|
||||
const runtimeStates = await this.orchestrator.listRuntimeStates(rows.map((profile) => profile.profileName));
|
||||
const runtimeMap = new Map(runtimeStates.map((state) => [state.profileName, state]));
|
||||
return rows.map((row) => this.mapProfile(row, runtimeMap));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user