debt - simple removal of asWinJsPromise

This commit is contained in:
Johannes Rieken
2018-09-06 12:09:34 +02:00
parent 22624e9974
commit 77c9ffa5b8

View File

@@ -189,7 +189,7 @@ export class ExtHostDebugService implements ExtHostDebugServiceShape {
}
};
}
return asWinJsPromise(token => this._variableResolver.resolveAny(ws, config));
return TPromise.wrap(this._variableResolver.resolveAny(ws, config));
}
public $startDASession(handle: number, debugType: string, adpaterExecutable: IAdapterExecutable | null, debugPort: number): TPromise<void> {