Skip to content

Commit

Permalink
[scm] Clean up left-overs
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
  • Loading branch information
AlexTugarev authored and akosyakov committed May 30, 2019
1 parent e5d862f commit 35300a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions packages/git/src/browser/git-contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ import {
} from '@theia/scm/lib/browser/scm-group-command-registry';
import { GitDecorator } from './git-decorator';

export const GIT_WIDGET_FACTORY_ID = 'git';

export const EDITOR_CONTEXT_MENU_GIT = [...EDITOR_CONTEXT_MENU, '3_git'];

export namespace GIT_COMMANDS {
Expand Down
4 changes: 1 addition & 3 deletions packages/scm/src/browser/scm-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ import {
ScmAmendSupport
} from './scm-service';
import { CommandRegistry, Emitter, MenuPath } from '@theia/core';
import { Event as CoreEvent} from '@theia/core';
import { EditorManager } from '@theia/editor/lib/browser';
import { Event as CoreEvent } from '@theia/core';
import { ScmAvatarService } from './scm-avatar-service';
import { ScmTitleCommandRegistry, ScmTitleItem } from './scm-title-command-registry';
import { ScmResourceCommandRegistry } from './scm-resource-command-registry';
Expand Down Expand Up @@ -79,7 +78,6 @@ export class ScmWidget extends ScmNavigableListWidget<ScmResource> implements St
@inject(ScmService) private readonly scmService: ScmService;
@inject(CommandRegistry) private readonly commandRegistry: CommandRegistry;
@inject(ApplicationShell) protected readonly shell: ApplicationShell;
@inject(EditorManager) protected readonly editorManager: EditorManager;
@inject(ContextMenuRenderer) protected readonly contextMenuRenderer: ContextMenuRenderer;
@inject(ScmAvatarService) protected readonly avatarService: ScmAvatarService;
@inject(StorageService) protected readonly storageService: StorageService;
Expand Down

0 comments on commit 35300a1

Please sign in to comment.