Skip to content

Commit

Permalink
Update extensions/github/src/pushErrorHandler.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler James Leonhardt <me@tylerleonhardt.com>
  • Loading branch information
lszomoru and TylerLeonhardt authored Oct 25, 2022
1 parent e255fad commit d96e133
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 @@ -18,7 +18,7 @@ export function isInCodespaces(): boolean {
async function handlePushError(repository: Repository, remote: Remote, refspec: string, owner: string, repo: string): Promise<void> {
const yes = l10n.t('Create Fork');
const no = l10n.t('No');
const askFork = l10n.t('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);
const askFork = l10n.t('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);

const answer = await window.showInformationMessage(askFork, yes, no);
if (answer !== yes) {
Expand Down

0 comments on commit d96e133

Please sign in to comment.