mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 22:41:31 +01:00
This commit is contained in:
@@ -2465,10 +2465,12 @@ export class Repository implements Disposable {
|
||||
}
|
||||
|
||||
await this.repository.createStash(undefined, true);
|
||||
const result = await runOperation();
|
||||
await this.repository.popStash();
|
||||
|
||||
return result;
|
||||
try {
|
||||
const result = await runOperation();
|
||||
return result;
|
||||
} finally {
|
||||
await this.repository.popStash();
|
||||
}
|
||||
}
|
||||
|
||||
private onFileChange(_uri: Uri): void {
|
||||
|
||||
Reference in New Issue
Block a user