mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
expose scm-progress in stable api, #18066
This commit is contained in:
@@ -46,12 +46,7 @@ export class ExtHostProgress {
|
||||
throw err;
|
||||
}
|
||||
|
||||
return p.then(result => {
|
||||
this._proxy.$progressEnd(handle);
|
||||
return result;
|
||||
}, err => {
|
||||
this._proxy.$progressEnd(handle);
|
||||
throw err;
|
||||
});
|
||||
p.then(result => this._proxy.$progressEnd(handle), err => this._proxy.$progressEnd(handle));
|
||||
return p;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user