Skip to content

Commit

Permalink
fix: close create fork message will create fork (#148438)
Browse files Browse the repository at this point in the history
  • Loading branch information
susiwen8 committed May 2, 2022
1 parent ab13b06 commit 3854c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/github/src/pushErrorHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function handlePushError(repository: Repository, remote: Remote, refspec:
const no = localize('no', "No");

const answer = await window.showInformationMessage(localize('fork', "You don't have permissions to push to '{0}/{1}' on GitHub. Would you like to create a fork and push to it instead?", owner, repo), yes, no);
if (answer === no) {
if (answer !== yes) {
return;
}

Expand Down

0 comments on commit 3854c3f

Please sign in to comment.