Skip to content

Commit f636d46

Browse files
committed
fix: clarify CLI download progress notification wording
Fixes #786
1 parent 9616392 commit f636d46

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/core/cliManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ export class CliManager {
497497
const completed = await vscode.window.withProgress<boolean>(
498498
{
499499
location: vscode.ProgressLocation.Notification,
500-
title: `Downloading ${baseUrl}`,
500+
title: `Downloading Coder CLI for ${baseUrl}`,
501501
cancellable: true,
502502
},
503503
async (progress, token) => {

test/unit/core/cliManager.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,9 @@ describe("CliManager", () => {
463463
withSuccessfulDownload();
464464
await manager.fetchBinary(mockApi, "test");
465465
expect(vscode.window.withProgress).toHaveBeenCalledWith(
466-
expect.objectContaining({ title: `Downloading ${TEST_URL}` }),
466+
expect.objectContaining({
467+
title: `Downloading Coder CLI for ${TEST_URL}`,
468+
}),
467469
expect.any(Function),
468470
);
469471
});

0 commit comments

Comments
 (0)