Skip to content

Commit 1fa5c23

Browse files
Simplify cases
1 parent 6d9a21a commit 1fa5c23

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

src/cloud/commands/deploy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ export async function deploy(context: DeployContext): Promise<boolean> {
148148
)
149149

150150
if (result) {
151-
// Update status bar to show success before showing the message
152151
statusBarItem.text = `$(cloud) ${config.app_slug ?? "Deployed"}`
153152

154153
const action = await ui.showInformationMessage(

src/cloud/ui/statusBar.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ export class StatusBarManager {
5959

6060
const state = this.getState(activeFolder)
6161

62-
// Don't interrupt an active deployment (spinning icon)
6362
if (this.statusBarItem.text.includes("$(sync~spin)")) {
6463
return
6564
}
@@ -69,9 +68,6 @@ export class StatusBarManager {
6968
case "error":
7069
this.statusBarItem.text = STATUS_DEPLOY
7170
break
72-
case "refreshing":
73-
// Don't change status bar during refresh to avoid flashing
74-
break
7571
case "linked":
7672
this.statusBarItem.text = `$(cloud) ${state.app.slug}`
7773
break

0 commit comments

Comments
 (0)