Skip to content

Commit

Permalink
Complete merge action is undoing the merge
Browse files Browse the repository at this point in the history
Fixes #5656
  • Loading branch information
alexr00 committed Jan 24, 2024
1 parent 5a56e01 commit 8c80d3e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/github/conflictGuide.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,8 @@ class ConflictNotification implements vscode.Disposable {
const result = await vscode.window.showInformationMessage(message, commit, cancel);
if (result === commit) {
await this._repository.commit(this._conflictModel.message);
return true;
} else {
} else if (result === cancel) {
await this._conflictModel.abort();
return false;
}
}
});
Expand Down

0 comments on commit 8c80d3e

Please sign in to comment.