Skip to content

Commit 8b1beb5

Browse files
committed
Addressed review comments
Signed-off-by: Thomas Mäder <[email protected]>
1 parent 528b3af commit 8b1beb5

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

packages/plugin-dev/src/node/hosted-plugin-reader.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ import { inject, injectable } from '@theia/core/shared/inversify';
1818
import { BackendApplicationContribution } from '@theia/core/lib/node/backend-application';
1919
import { HostedPluginReader as PluginReaderHosted } from '@theia/plugin-ext/lib/hosted/node/plugin-reader';
2020
import { Deferred } from '@theia/core/lib/common/promise-util';
21-
import { PluginMetadata } from '@theia/plugin-ext/lib/common/plugin-protocol';
21+
import { PluginDeployerHandler, PluginMetadata } from '@theia/plugin-ext/lib/common/plugin-protocol';
2222
import { PluginDeployerEntryImpl } from '@theia/plugin-ext/lib/main/node/plugin-deployer-entry-impl';
23-
import { PluginDeployerHandlerImpl } from '@theia/plugin-ext/lib/hosted/node/plugin-deployer-handler-impl';
2423

2524
@injectable()
2625
export class HostedPluginReader implements BackendApplicationContribution {
@@ -30,8 +29,8 @@ export class HostedPluginReader implements BackendApplicationContribution {
3029

3130
private readonly hostedPlugin = new Deferred<PluginMetadata | undefined>();
3231

33-
@inject(PluginDeployerHandlerImpl)
34-
protected deployerHandler: PluginDeployerHandlerImpl;
32+
@inject(PluginDeployerHandler)
33+
protected deployerHandler: PluginDeployerHandler;
3534

3635
async initialize(): Promise<void> {
3736
this.pluginReader.getPluginMetadata(process.env.HOSTED_PLUGIN)

packages/vsx-registry/src/browser/vsx-extension.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ export abstract class AbstractVSXExtensionComponent<Props extends AbstractVSXExt
507507
<button className="theia-button action" onClick={this.uninstall}>{nls.localizeByDefault('Uninstall')}</button> :
508508
<button className="theia-button prominent action" onClick={this.install}>{nls.localizeByDefault('Install')}</button>)
509509
}
510-
<div className="codicon codicon-settings-gear action" tabIndex={tabIndex} onClick={this.manage}></div>;
510+
<div className="codicon codicon-settings-gear action" tabIndex={tabIndex} onClick={this.manage}></div>
511511
</div>;
512512
}
513513

0 commit comments

Comments
 (0)