@codingame/monaco-vscode-scm-service-override 4.5.1 → 4.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,7 @@ import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/co
15
15
  import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views.service';
16
16
  import { ViewPaneContainer } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
17
17
 
18
+ const _moduleId = "vs/workbench/contrib/scm/browser/scmViewPaneContainer";
18
19
  let SCMViewPaneContainer = class SCMViewPaneContainer extends ViewPaneContainer {
19
20
  constructor(scmViewService, layoutService, telemetryService, instantiationService, contextMenuService, themeService, storageService, configurationService, extensionService, contextService, viewDescriptorService) {
20
21
  super(VIEWLET_ID, { mergeViewWithContainerWhenSingleView: true }, instantiationService, configurationService, layoutService, contextMenuService, telemetryService, extensionService, themeService, storageService, contextService, viewDescriptorService);
@@ -28,28 +29,24 @@ let SCMViewPaneContainer = class SCMViewPaneContainer extends ViewPaneContainer
28
29
  return 400;
29
30
  }
30
31
  getTitle() {
31
- return ( localizeWithPath(
32
- 'vs/workbench/contrib/scm/browser/scmViewPaneContainer',
33
- 'source control',
34
- "Source Control"
35
- ));
32
+ return ( localizeWithPath(_moduleId, 0, "Source Control"));
36
33
  }
37
34
  getActionsContext() {
38
35
  return this.scmViewService.visibleRepositories.length === 1 ? this.scmViewService.visibleRepositories[0].provider : undefined;
39
36
  }
40
37
  };
41
- SCMViewPaneContainer = ( __decorate([
42
- ( __param(0, ISCMViewService)),
43
- ( __param(1, IWorkbenchLayoutService)),
44
- ( __param(2, ITelemetryService)),
45
- ( __param(3, IInstantiationService)),
46
- ( __param(4, IContextMenuService)),
47
- ( __param(5, IThemeService)),
48
- ( __param(6, IStorageService)),
49
- ( __param(7, IConfigurationService)),
50
- ( __param(8, IExtensionService)),
51
- ( __param(9, IWorkspaceContextService)),
52
- ( __param(10, IViewDescriptorService))
53
- ], SCMViewPaneContainer));
38
+ SCMViewPaneContainer = ( (__decorate([
39
+ ( (__param(0, ISCMViewService))),
40
+ ( (__param(1, IWorkbenchLayoutService))),
41
+ ( (__param(2, ITelemetryService))),
42
+ ( (__param(3, IInstantiationService))),
43
+ ( (__param(4, IContextMenuService))),
44
+ ( (__param(5, IThemeService))),
45
+ ( (__param(6, IStorageService))),
46
+ ( (__param(7, IConfigurationService))),
47
+ ( (__param(8, IExtensionService))),
48
+ ( (__param(9, IWorkspaceContextService))),
49
+ ( (__param(10, IViewDescriptorService)))
50
+ ], SCMViewPaneContainer)));
54
51
 
55
52
  export { SCMViewPaneContainer };
@@ -285,7 +285,7 @@ let SCMService = class SCMService {
285
285
  registerSCMProvider(provider) {
286
286
  this.logService.trace('SCMService#registerSCMProvider');
287
287
  if (( this._repositories.has(provider.id))) {
288
- throw new Error(`SCM Provider ${provider.id} already exists.`);
288
+ throw ( new Error(`SCM Provider ${provider.id} already exists.`));
289
289
  }
290
290
  const disposable = toDisposable(() => {
291
291
  this._repositories.delete(provider.id);