Skip to content

Commit

Permalink
Typos in taskConfiguration.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexr00 committed Jul 11, 2019
1 parent e9d8aaa commit 1301894
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/vs/workbench/contrib/tasks/common/taskConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -503,7 +503,7 @@ export interface ExternalTaskRunnerConfiguration extends BaseTaskRunnerConfigura
osx?: BaseTaskRunnerConfiguration;

/**
* Linux speciif task configuration
* Linux specific task configuration
*/
linux?: BaseTaskRunnerConfiguration;
}
Expand Down Expand Up @@ -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>[] = [
Expand All @@ -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;
Expand All @@ -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)) {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 1301894

Please sign in to comment.