Load Status after abort to ensure working directory refreshed

This commit is contained in:
tidy-dev 2021-02-23 08:40:41 -05:00
parent 4b8f0afc45
commit 29c23c029c

View file

@ -2642,6 +2642,7 @@ export class Dispatcher {
/** Aborts an ongoing cherry pick and switches back to the source branch. */
public async abortCherryPick(repository: Repository, sourceBranch: Branch) {
await this.appStore._abortCherryPick(repository, sourceBranch)
await this.appStore._loadStatus(repository)
this.appStore._endCherryPickFlow(repository)
}