diff --git a/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts b/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts index 53f8753ff6782a3a3a30f84e4094affed5f628ea..17b6c9aacc73fbb6415e2043cadff394cc81cb81 100644 --- a/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts +++ b/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts @@ -298,11 +298,11 @@ export class ConfigurationManager implements debug.IConfigurationManager { const factory: { (): TPromise }[] = Object.keys(interactiveVariablesToSubstitutes).map(interactiveVariable => { return () => { var commandId = null; - if (this.adapter != null) { + if (this.adapter !== null) { commandId = this.adapter.variables ? this.adapter.variables[interactiveVariable] : null; } if (!commandId) { - return TPromise.wrapError(nls.localize('interactiveVariableNotFound', "Adapter {0} does not contribute variable {1} that is specified in launch configuration.", this.adapter != null ? this.adapter.type : null, interactiveVariable)); + return TPromise.wrapError(nls.localize('interactiveVariableNotFound', "Adapter {0} does not contribute variable {1} that is specified in launch configuration.", this.adapter !== null ? this.adapter.type : null, interactiveVariable)); } else { return this.commandService.executeCommand(commandId, this.configuration).then(result => { if (!result) {