Skip to content

Commit f25c38d

Browse files
committed
Fix task type schema default to reflect the world
Fixes microsoft#91553
1 parent 583dc03 commit f25c38d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ const group: IJSONSchema = {
206206
const taskType: IJSONSchema = {
207207
type: 'string',
208208
enum: ['shell'],
209-
default: 'shell',
209+
default: 'process',
210210
description: nls.localize('JsonSchema.tasks.type', 'Defines whether the task is run as a process or as a command inside a shell.')
211211
};
212212

@@ -474,7 +474,7 @@ const processTask = Objects.deepClone(taskDescription);
474474
processTask.properties!.type = {
475475
type: 'string',
476476
enum: ['process'],
477-
default: 'shell',
477+
default: 'process',
478478
description: nls.localize('JsonSchema.tasks.type', 'Defines whether the task is run as a process or as a command inside a shell.')
479479
};
480480
processTask.required!.push('command');

0 commit comments

Comments
 (0)