Skip to content

Commit

Permalink
fix(command): print help verbs as lines to fix translation
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed May 26, 2021
1 parent 4e1c7a9 commit 9b455f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/service/state/TurnState.ts
Expand Up @@ -285,11 +285,11 @@ export class LocalStateService implements StateService {
}

public async doHelp(): Promise<void> {
const verbs = COMMON_VERBS.join(', ');
const lines = COMMON_VERBS.map((key) => ({
key,
}));
this.event.emit('state-output', {
lines: [{
key: verbs,
}],
lines,
step: mustExist(this.state).step,
});
}
Expand Down

0 comments on commit 9b455f0

Please sign in to comment.