mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-28 11:18:18 +01:00
fix typos
This commit is contained in:
@@ -395,7 +395,7 @@ export interface IConfigurationManager {
|
||||
* Returns the resolved configuration.
|
||||
* Replaces os specific values, system variables, interactive variables.
|
||||
*/
|
||||
resloveConfiguration(config: IConfig): TPromise<IConfig>;
|
||||
resolveConfiguration(config: IConfig): TPromise<IConfig>;
|
||||
|
||||
/**
|
||||
* Returns a compound with the specified name.
|
||||
@@ -451,7 +451,7 @@ export interface IDebugService {
|
||||
getConfigurationManager(): IConfigurationManager;
|
||||
|
||||
/**
|
||||
* Sets the focused stack frame and evaluates all expresions against the newly focused stack frame,
|
||||
* Sets the focused stack frame and evaluates all expressions against the newly focused stack frame,
|
||||
*/
|
||||
focusStackFrameAndEvaluate(focusedStackFrame: IStackFrame, process?: IProcess): TPromise<void>;
|
||||
|
||||
|
||||
@@ -314,7 +314,7 @@ export class ConfigurationManager implements IConfigurationManager {
|
||||
return config.configurations.filter(config => config && config.name === name).shift();
|
||||
}
|
||||
|
||||
public resloveConfiguration(config: IConfig): TPromise<IConfig> {
|
||||
public resolveConfiguration(config: IConfig): TPromise<IConfig> {
|
||||
if (!this.contextService.hasWorkspace()) {
|
||||
return TPromise.as(config);
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ export class DebugService implements debug.IDebugService {
|
||||
}
|
||||
|
||||
const config = this.configurationManager.getConfiguration(this.viewModel.selectedConfigurationName);
|
||||
this.configurationManager.resloveConfiguration(config).done(resolvedConfig => {
|
||||
this.configurationManager.resolveConfiguration(config).done(resolvedConfig => {
|
||||
resolvedConfig.request = 'attach';
|
||||
resolvedConfig.port = broadcast.payload.port;
|
||||
this.doCreateProcess(resolvedConfig);
|
||||
@@ -677,7 +677,7 @@ export class DebugService implements debug.IDebugService {
|
||||
|
||||
public createProcess(config: debug.IConfig): TPromise<debug.IProcess> {
|
||||
return this.textFileService.saveAll().then(() =>
|
||||
this.configurationManager.resloveConfiguration(config).then(resolvedConfig => {
|
||||
this.configurationManager.resolveConfiguration(config).then(resolvedConfig => {
|
||||
if (!resolvedConfig) {
|
||||
// User canceled resolving of interactive variables, silently return
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user