diff --git a/src/commands.ts b/src/commands.ts index d6734376..e2f9c2a9 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -654,14 +654,15 @@ export class Commands { if (!this.workspace || !this.workspaceRestClient) { return; } - const action = await this.vscodeProposed.window.showInformationMessage( + const action = await this.vscodeProposed.window.showWarningMessage( "Update Workspace", { useCustom: true, modal: true, - detail: `Update ${this.workspace.owner_name}/${this.workspace.name} to the latest version?`, + detail: `Update ${this.workspace.owner_name}/${this.workspace.name} to the latest version?\n\nUpdating will restart your workspace and stop any running processes that may result in loss of unsaved work.`, }, "Update", + "Cancel", ); if (action === "Update") { await this.workspaceRestClient.updateWorkspaceVersion(this.workspace);