diff options
Diffstat (limited to 'src/vs/workbench/contrib/tasks/electron-sandbox/taskService.ts')
-rw-r--r-- | src/vs/workbench/contrib/tasks/electron-sandbox/taskService.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/vs/workbench/contrib/tasks/electron-sandbox/taskService.ts b/src/vs/workbench/contrib/tasks/electron-sandbox/taskService.ts index 0620c9bc2d5..050ef08efde 100644 --- a/src/vs/workbench/contrib/tasks/electron-sandbox/taskService.ts +++ b/src/vs/workbench/contrib/tasks/electron-sandbox/taskService.ts @@ -44,6 +44,7 @@ import { IWorkspaceTrustManagementService, IWorkspaceTrustRequestService } from import { ITerminalProfileResolverService } from 'vs/workbench/contrib/terminal/common/terminal'; import { IPaneCompositePartService } from 'vs/workbench/services/panecomposite/browser/panecomposite'; import { IThemeService } from 'vs/platform/theme/common/themeService'; +import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; interface IWorkspaceFolderConfigurationResult { workspaceFolder: IWorkspaceFolder; @@ -85,7 +86,8 @@ export class TaskService extends AbstractTaskService { @IWorkspaceTrustRequestService workspaceTrustRequestService: IWorkspaceTrustRequestService, @IWorkspaceTrustManagementService workspaceTrustManagementService: IWorkspaceTrustManagementService, @ILogService logService: ILogService, - @IThemeService themeService: IThemeService) { + @IThemeService themeService: IThemeService, + @IInstantiationService instantiationService: IInstantiationService) { super(configurationService, markerService, outputService, @@ -118,7 +120,8 @@ export class TaskService extends AbstractTaskService { workspaceTrustRequestService, workspaceTrustManagementService, logService, - themeService); + themeService, + ); this._register(lifecycleService.onBeforeShutdown(event => event.veto(this.beforeShutdown(), 'veto.tasks'))); } |