do not break existing debug extensions

This commit is contained in:
Andre Weinand
2017-09-07 23:04:47 +02:00
parent 338de08a54
commit d0202cc107
4 changed files with 50 additions and 38 deletions

View File

@@ -50,12 +50,12 @@ export class MainThreadDebugService implements MainThreadDebugServiceShape {
type: debugType
};
if (hasProvide) {
provider.provideDebugConfigurations = (folder: URI | undefined) => {
provider.provideDebugConfigurations = folder => {
return this._proxy.$provideDebugConfigurations(handle, folder);
};
}
if (hasResolve) {
provider.resolveDebugConfiguration = (folder: URI | undefined, debugConfiguration: any) => {
provider.resolveDebugConfiguration = (folder, debugConfiguration) => {
return this._proxy.$resolveDebugConfiguration(handle, folder, debugConfiguration);
};
}