Skip to content

Commit 53b4ce3

Browse files
install -> setup
1 parent 5ffaa42 commit 53b4ce3

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/env/node/gk/cli/integration.ts

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class GkCliIntegrationProvider implements Disposable {
9999
}
100100

101101
if (isWeb) {
102-
void window.showErrorMessage('GitKraken MCP installation is not supported on this platform.');
102+
void window.showErrorMessage('GitKraken MCP setup is not supported on this platform.');
103103
if (this.container.telemetry.enabled) {
104104
this.container.telemetry.sendEvent('mcp/setup/failed', {
105105
reason: 'web environment unsupported',
@@ -111,7 +111,7 @@ export class GkCliIntegrationProvider implements Disposable {
111111

112112
const appName = toMcpInstallProvider(await getHostAppName());
113113
if (appName == null) {
114-
void window.showInformationMessage(`Failed to install the GitKraken MCP: Could not determine app name`);
114+
void window.showInformationMessage(`Failed to setup the GitKraken MCP: Could not determine app name`);
115115
if (this.container.telemetry.enabled) {
116116
this.container.telemetry.sendEvent('mcp/setup/failed', {
117117
reason: 'no app name',
@@ -165,9 +165,7 @@ export class GkCliIntegrationProvider implements Disposable {
165165
if (ex instanceof CLIInstallError) {
166166
switch (ex.reason) {
167167
case CLIInstallErrorReason.UnsupportedPlatform:
168-
void window.showErrorMessage(
169-
'GitKraken MCP installation is not supported on this platform.',
170-
);
168+
void window.showErrorMessage('GitKraken MCP setup is not supported on this platform.');
171169
failureReason = 'unsupported platform';
172170
break;
173171
case CLIInstallErrorReason.ProxyUrlFetch:
@@ -182,7 +180,7 @@ export class GkCliIntegrationProvider implements Disposable {
182180
break;
183181
default:
184182
void window.showErrorMessage(
185-
`Failed to install the GitKraken MCP: ${ex instanceof Error ? ex.message : 'Unknown error.'}`,
183+
`Failed to setup the GitKraken MCP: ${ex instanceof Error ? ex.message : 'Unknown error.'}`,
186184
);
187185
break;
188186
}
@@ -199,7 +197,7 @@ export class GkCliIntegrationProvider implements Disposable {
199197
}
200198

201199
if (cliPath == null) {
202-
void window.showErrorMessage('Failed to install the GitKraken MCP: Unknown error.');
200+
void window.showErrorMessage('Failed to setup the GitKraken MCP: Unknown error.');
203201
if (this.container.telemetry.enabled) {
204202
this.container.telemetry.sendEvent('mcp/setup/failed', {
205203
reason: 'unknown error',
@@ -272,7 +270,7 @@ export class GkCliIntegrationProvider implements Disposable {
272270
});
273271
}
274272
Logger.error(`Unexpected output from mcp install command: ${output}`, scope);
275-
void window.showErrorMessage(`Failed to install the GitKraken MCP: unknown error`);
273+
void window.showErrorMessage(`Failed to setup the GitKraken MCP: unknown error`);
276274
return;
277275
}
278276

@@ -296,7 +294,7 @@ export class GkCliIntegrationProvider implements Disposable {
296294
}
297295

298296
void window.showErrorMessage(
299-
`Failed to install the GitKraken MCP: ${ex instanceof Error ? ex.message : 'Unknown error'}`,
297+
`Failed to setup the GitKraken MCP: ${ex instanceof Error ? ex.message : 'Unknown error'}`,
300298
);
301299
}
302300
}

0 commit comments

Comments
 (0)