mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-09 02:12:20 +01:00
Merge pull request #50838 from zevisert/spelling/task-quoting
Spelling fix Ouoting -> Quoting
This commit is contained in:
@@ -691,7 +691,7 @@ export class TerminalTaskSystem implements ITaskSystem {
|
||||
return command;
|
||||
}
|
||||
let basename = path.parse(shellExecutable).name.toLowerCase();
|
||||
let shellQuoteOptions = this.getOuotingOptions(basename, shellOptions);
|
||||
let shellQuoteOptions = this.getQuotingOptions(basename, shellOptions);
|
||||
|
||||
function needsQuotes(value: string): boolean {
|
||||
if (value.length >= 2) {
|
||||
@@ -784,7 +784,7 @@ export class TerminalTaskSystem implements ITaskSystem {
|
||||
return commandLine;
|
||||
}
|
||||
|
||||
private getOuotingOptions(shellBasename: string, shellOptions: ShellConfiguration): ShellQuotingOptions {
|
||||
private getQuotingOptions(shellBasename: string, shellOptions: ShellConfiguration): ShellQuotingOptions {
|
||||
if (shellOptions && shellOptions.quoting) {
|
||||
return shellOptions.quoting;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user