提交 1301894f 编写于 作者: A Alex Ross

Typos in taskConfiguration.ts

上级 e9d8aaaf
......@@ -289,7 +289,7 @@ export interface ConfigurationProperties {
label?: string;
/**
* An optional indentifier which can be used to reference a task
* An optional identifier which can be used to reference a task
* in a dependsOn or other attributes.
*/
identifier?: string;
......@@ -432,7 +432,7 @@ export interface BaseTaskRunnerConfiguration {
taskSelector?: string;
/**
* The problem matcher(s) to used if a global command is exucuted (e.g. no tasks
* The problem matcher(s) to used if a global command is executed (e.g. no tasks
* are defined). A tasks.json file can either contain a global problemMatcher
* property or a tasks property but not both.
*/
......@@ -503,7 +503,7 @@ export interface ExternalTaskRunnerConfiguration extends BaseTaskRunnerConfigura
osx?: BaseTaskRunnerConfiguration;
/**
* Linux speciif task configuration
* Linux specific task configuration
*/
linux?: BaseTaskRunnerConfiguration;
}
......@@ -913,13 +913,13 @@ namespace CommandConfiguration {
}
}
interface BaseCommandConfiguationShape extends BaseCommandProperties, LegacyCommandProperties {
interface BaseCommandConfigurationShape extends BaseCommandProperties, LegacyCommandProperties {
}
interface CommandConfiguationShape extends BaseCommandConfiguationShape {
windows?: BaseCommandConfiguationShape;
osx?: BaseCommandConfiguationShape;
linux?: BaseCommandConfiguationShape;
interface CommandConfigurationShape extends BaseCommandConfigurationShape {
windows?: BaseCommandConfigurationShape;
osx?: BaseCommandConfigurationShape;
linux?: BaseCommandConfigurationShape;
}
const properties: MetaData<Tasks.CommandConfiguration, any>[] = [
......@@ -928,7 +928,7 @@ namespace CommandConfiguration {
{ property: 'presentation', type: PresentationOptions }
];
export function from(this: void, config: CommandConfiguationShape, context: ParseContext): Tasks.CommandConfiguration | undefined {
export function from(this: void, config: CommandConfigurationShape, context: ParseContext): Tasks.CommandConfiguration | undefined {
let result: Tasks.CommandConfiguration = fromBase(config, context)!;
let osConfig: Tasks.CommandConfiguration | undefined = undefined;
......@@ -945,7 +945,7 @@ namespace CommandConfiguration {
return isEmpty(result) ? undefined : result;
}
function fromBase(this: void, config: BaseCommandConfiguationShape, context: ParseContext): Tasks.CommandConfiguration | undefined {
function fromBase(this: void, config: BaseCommandConfigurationShape, context: ParseContext): Tasks.CommandConfiguration | undefined {
let name: Tasks.CommandString | undefined = ShellString.from(config.command);
let runtime: Tasks.RuntimeType;
if (Types.isString(config.type)) {
......@@ -1172,7 +1172,7 @@ namespace ProblemMatcherConverter {
return localProblemMatcher;
}
}
context.taskLoadIssues.push(nls.localize('ConfigurationParser.invalidVaraibleReference', 'Error: Invalid problemMatcher reference: {0}\n', value));
context.taskLoadIssues.push(nls.localize('ConfigurationParser.invalidVariableReference', 'Error: Invalid problemMatcher reference: {0}\n', value));
return undefined;
} else {
let json = <ProblemMatcherConfig.ProblemMatcher>value;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册