Skip to content

Commit

Permalink
Use transitive binding for TerminalFrontendContribution (#13667)
Browse files Browse the repository at this point in the history
Allows downstream to customize the frontend lifecycle behavior of the TerminalFrontendContribution class.

Signed-off-by: Leo Zhu <[email protected]>
  • Loading branch information
Maddobun authored Apr 30, 2024
1 parent fd988bc commit cfbfe28
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 cfbfe28

Please sign in to comment.