fix: close `create fork` message will create fork (#148438)
parent
ab13b068b5
commit
3854c3fa8e
|
@ -23,7 +23,7 @@ async function handlePushError(repository: Repository, remote: Remote, refspec:
|
||||||
const no = localize('no', "No");
|
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);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue