Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Zatsarynnyi <[email protected]>
  • Loading branch information
azatsarynnyy committed Sep 20, 2021
1 parent f45bc01 commit 4c104e3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {

rebind(FileNavigatorWidget).toDynamicValue(ctx => createFileNavigatorWidget(ctx.container));

// const devWorkspaceName = process.env['DEVWORKSPACE_NAME'];
// if (devWorkspaceName) {
const devWorkspaceName = process.env['DEVWORKSPACE_NAME'];
if (devWorkspaceName) {
bind(DevfileWatcher).toSelf().inSingletonScope();
bind(ExtensionsJsonWatcher).toSelf().inSingletonScope();
bind(PluginsYamlWatcher).toSelf().inSingletonScope();
bind(TasksJsonWatcher).toSelf().inSingletonScope();
[DevfileWatcher, ExtensionsJsonWatcher, PluginsYamlWatcher, TasksJsonWatcher].forEach(component => {
bind(FrontendApplicationContribution).to(component);
});
// }
}
});

export function createFileNavigatorContainer(parent: interfaces.Container): Container {
Expand Down

0 comments on commit 4c104e3

Please sign in to comment.