thrownewTaskError(Severity.Error,nls.localize('TaskSystem.fatalError','The provided task configuration has validation errors. See tasks output log for details.'),TaskErrors.ConfigValidationError);
'description':nls.localize('JsonSchema.options.cwd','The current working directory of the executed program or script. If omitted Code\'s current workspace root is used.')
},
'env':{
'type':'object',
'additionalProperties':{
'type':'string'
},
'description':nls.localize('JsonSchema.options.env','The environment of the executed program or shell. If omitted the parent process\' environment is used.')
'description':nls.localize('JsonSchema.options.cwd','The current working directory of the executed program or script. If omitted Code\'s current workspace root is used.')
},
'env':{
'type':'object',
'additionalProperties':{
'type':'string'
},
'description':nls.localize('JsonSchema.options.env','The environment of the executed program or shell. If omitted the parent process\' environment is used.')
'description':nls.localize('JsonSchema.command','The command to be executed. Can be an external program or a shell command.')
},
'isShellCommand':{
'type':'boolean',
'default':true,
'description':nls.localize('JsonSchema.shell','Specifies whether the command is a shell command or an external program. Defaults to false if omitted.')
},
'args':{
'type':'array',
'description':nls.localize('JsonSchema.tasks.args','Additional arguments passed to the command when this task is invoked.'),
'description':nls.localize('JsonSchema.tasks.args','Arguments passed to the command when this task is invoked.'),
'items':{
'type':'string'
}
},
'options':{
'$ref':'#/definitions/options'
},
'suppressTaskName':{
'type':'boolean',
'description':nls.localize('JsonSchema.tasks.suppressTaskName','Controls whether the task name is added as an argument to the command. If omitted the globally defined value is used.'),
thrownewTaskError(Severity.Info,nls.localize('TaskRunnerSystem.noBuildTask','No task is marked as a build task in the tasks.json. Mark a task with \'isBuildCommand\'.'),TaskErrors.NoBuildTask);
thrownewTaskError(Severity.Error,nls.localize('TaskRunnerSystem.fatalError','The provided task configuration has validation errors. See tasks output log for details.'),TaskErrors.ConfigValidationError);
}
lettask=this.configuration.tasks[taskIdentifier];
if(!task){
thrownewTaskError(Severity.Info,nls.localize('TaskRunnerSystem.norebuild','No task to execute found.'),TaskErrors.TaskNotFound);