Skip to content

Commit dedf4e7

Browse files
committed
address publish to GitHub awareness
1 parent df20156 commit dedf4e7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

extensions/github/src/publish.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export async function publishRepository(gitAPI: GitAPI, repository?: Repository)
6363
if (!sanitizedRepo) {
6464
quickpick.items = [];
6565
} else {
66-
quickpick.items = [{ label: `$(repo) Create private repository`, description: `$(github) ${owner}/${sanitizedRepo}`, alwaysShow: true, repo: sanitizedRepo }];
66+
quickpick.items = [{ label: `$(repo) Publish to GitHub private repository`, description: `$(github) ${owner}/${sanitizedRepo}`, alwaysShow: true, repo: sanitizedRepo }];
6767
}
6868
};
6969

@@ -80,7 +80,7 @@ export async function publishRepository(gitAPI: GitAPI, repository?: Repository)
8080
try {
8181
quickpick.busy = true;
8282
await octokit.repos.get({ owner, repo: repo });
83-
quickpick.items = [{ label: `$(error) Repository already exists`, description: `$(github) ${owner}/${repo}`, alwaysShow: true }];
83+
quickpick.items = [{ label: `$(error) GitHub repository already exists`, description: `$(github) ${owner}/${repo}`, alwaysShow: true }];
8484
} catch {
8585
break;
8686
} finally {
@@ -96,7 +96,7 @@ export async function publishRepository(gitAPI: GitAPI, repository?: Repository)
9696
}
9797

9898
const githubRepository = await vscode.window.withProgress({ location: vscode.ProgressLocation.Notification, cancellable: false, title: 'Publish to GitHub' }, async progress => {
99-
progress.report({ message: 'Creating private repository in GitHub', increment: 25 });
99+
progress.report({ message: 'Publishing to GitHub private repository', increment: 25 });
100100

101101
const res = await octokit.repos.createForAuthenticatedUser({
102102
name: repo!,

0 commit comments

Comments
 (0)