Skip to content

Commit

Permalink
fix(util): clean up debug graph portal labels
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed May 23, 2021
1 parent a311955 commit c6a4b29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/service/state/LocalStateService.ts
Expand Up @@ -402,7 +402,7 @@ export class LocalStateService extends EventEmitter implements StateService {
}

/**
* @todo get rid of this in favor of something that does not need a handle to the container
* @todo get rid of this in favor of something that does not call DI during state steps
*/
protected getActorInput(actor: Actor): Promise<Input> {
return this.container.create<Input, ActorInputOptions>(INJECT_INPUT_ACTOR, {
Expand Down
2 changes: 1 addition & 1 deletion src/util/debug.ts
Expand Up @@ -47,7 +47,7 @@ export function graphState(state: State): Array<string> {
const segments = [
` ${sanitize(room.meta.id)} -> ${sanitize(portal.dest)}`,
'[',
`label="${portal.sourceGroup} -> ${portal.name} -> ${portal.targetGroup}"`,
`label="${portal.sourceGroup} ${portal.name}"`,
];

/* if (portal.link === PortalLinkage.BOTH) {
Expand Down

0 comments on commit c6a4b29

Please sign in to comment.