Skip to content

Commit

Permalink
fix tests and linting
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Mäder <[email protected]>
  • Loading branch information
tsmaeder committed Dec 2, 2022
1 parent 12017ab commit 2ccacfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-ext/src/common/plugin-api-rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,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
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-ext/src/plugin/type-converters.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:', () => {

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 2ccacfe

Please sign in to comment.