Skip to content

Commit 6d9a21a

Browse files
Simplify comments
1 parent a81d676 commit 6d9a21a

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

src/cloud/commands/deploy.ts

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

128128
try {
129-
// Set status immediately to prevent flash from config watcher triggering refresh
130129
updateStatus("Creating deployment...")
131130
const deployment = await apiService.createDeployment(config.app_id)
132131

src/cloud/controller.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,7 @@ export class CloudController {
283283
})
284284

285285
if (root) {
286-
// Refresh state in background without updating status bar during refresh
287-
// This avoids a flash when deploy succeeds (status bar is already correct)
288286
await this.refresh(root)
289-
// Only update status bar on failure - success already set it correctly
290287
if (!success) {
291288
await this.statusBarManager.update()
292289
}

0 commit comments

Comments
 (0)