(ctx context.Context)
| 588 | } |
| 589 | |
| 590 | func (s cloud) runUIInstall(ctx context.Context) (err error) { |
| 591 | logInfo.Printf("Running `npm install -w web-admin`\n") |
| 592 | defer func() { |
| 593 | if err == nil { |
| 594 | logInfo.Printf("Finished `npm install -w web-admin`\n") |
| 595 | } else { |
| 596 | logErr.Printf("Failed running `npm install -w web-admin`: %v\n", err) |
| 597 | } |
| 598 | }() |
| 599 | |
| 600 | return newCmd(ctx, "npm", "install", "-w", "web-admin").Run() |
| 601 | } |
| 602 | |
| 603 | func (s cloud) runUI(ctx context.Context) (err error) { |
| 604 | logInfo.Printf("Starting UI\n") |