mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
fix: close create fork message will create fork (#148438)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user