Skip to content

Commit

Permalink
Use toService transitive binding for TerminalFrontendContribution:
Browse files Browse the repository at this point in the history
- This allows downstream to customize the frontend lifecycle behavior for  the TerminalFrontendContribution class.

Signed-off-by: Leo Zhu <[email protected]>
  • Loading branch information
Leo Zhu committed Apr 29, 2024
1 parent 020a4cb commit 6a40564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/terminal/src/browser/terminal-frontend-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,5 @@ export default new ContainerModule(bind => {
return new DefaultTerminalProfileService(userStore, contributedStore);
}).inSingletonScope();

bind(FrontendApplicationContribution).to(TerminalFrontendContribution);
bind(FrontendApplicationContribution).toService(TerminalFrontendContribution);
});

0 comments on commit 6a40564

Please sign in to comment.