diff --git a/packages/plugin-ext/src/common/plugin-api-rpc.ts b/packages/plugin-ext/src/common/plugin-api-rpc.ts index 44de61a6f870f..c21fd3b5fdc44 100644 --- a/packages/plugin-ext/src/common/plugin-api-rpc.ts +++ b/packages/plugin-ext/src/common/plugin-api-rpc.ts @@ -1443,7 +1443,7 @@ export interface CommandProperties { }; } -export type TaskGroupKind = 'build' | 'test' | 'rebuild' | 'clean' +export type TaskGroupKind = 'build' | 'test' | 'rebuild' | 'clean'; export interface TaskDto { type: string; taskType?: 'shell' | 'process' | 'customExecution'; // the task execution type diff --git a/packages/plugin-ext/src/plugin/type-converters.spec.ts b/packages/plugin-ext/src/plugin/type-converters.spec.ts index f7ad3e364301f..314fc01a11c01 100644 --- a/packages/plugin-ext/src/plugin/type-converters.spec.ts +++ b/packages/plugin-ext/src/plugin/type-converters.spec.ts @@ -22,7 +22,6 @@ import * as model from '../common/plugin-api-rpc-model'; import { MarkdownString } from './markdown-string'; import { MarkdownString as MarkdownStringInterface } from '@theia/core/lib/common/markdown-rendering'; import { TaskDto } from '../common/plugin-api-rpc'; -import { TaskGroup } from './types-impl'; describe('Type converters:', () => { @@ -185,7 +184,7 @@ describe('Type converters:', () => { const args = ['run', 'build']; const cwd = '/projects/theia'; const additionalProperty = 'some property'; - const group = TaskGroup.Build; + const group = new types.TaskGroup('build', 'Build'); const shellTaskDto: TaskDto = { type: shellType,