context.problemReporter.fatal(nls.localize('ConfigurationParser.noargs','Error: command arguments must be an array of strings. Provided value is:\n{0}',config.args?JSON.stringify(config.args,undefined,4):'undefined'));
context.problemReporter.error(nls.localize('ConfigurationParser.noargs','Error: command arguments must be an array of strings. Provided value is:\n{0}',config.args?JSON.stringify(config.args,undefined,4):'undefined'));
context.problemReporter.fatal(nls.localize('ConfigurationParser.noTaskType','Error: tasks configuration must have a type property. The configuration will be ignored.\n{0}\n',JSON.stringify(external,null,4)));
context.problemReporter.error(nls.localize('ConfigurationParser.noTaskType','Error: tasks configuration must have a type property. The configuration will be ignored.\n{0}\n',JSON.stringify(external,null,4)));
letmessage=nls.localize('ConfigurationParser.noTypeDefinition','Error: there is not registered task type \'{0}\'. Did you miss to install an extension that provides a corresponding task provider?',type);
context.problemReporter.fatal(nls.localize('ConfigurationParser.notCustom','Error: tasks is not declared as a custom task. The configuration will be ignored.\n{0}\n',JSON.stringify(external,null,4)));
context.problemReporter.error(nls.localize('ConfigurationParser.notCustom','Error: tasks is not declared as a custom task. The configuration will be ignored.\n{0}\n',JSON.stringify(external,null,4)));
returnundefined;
returnundefined;
}
}
lettaskName=external.taskName;
lettaskName=external.taskName;
if(!taskName){
if(!taskName){
context.problemReporter.fatal(nls.localize('ConfigurationParser.noTaskName','Error: tasks must provide a taskName property. The task will be ignored.\n{0}\n',JSON.stringify(external,null,4)));
context.problemReporter.error(nls.localize('ConfigurationParser.noTaskName','Error: tasks must provide a taskName property. The task will be ignored.\n{0}\n',JSON.stringify(external,null,4)));