(ctx context.Context)
| 734 | } |
| 735 | |
| 736 | func (s local) runUIInstall(ctx context.Context) (err error) { |
| 737 | logInfo.Printf("Running `npm install -w web-local`\n") |
| 738 | defer func() { |
| 739 | if err == nil { |
| 740 | logInfo.Printf("Finished `npm install -w web-local`\n") |
| 741 | } else { |
| 742 | logErr.Printf("Failed running `npm install -w web-local`: %v", err) |
| 743 | } |
| 744 | }() |
| 745 | |
| 746 | return newCmd(ctx, "npm", "install", "-w", "web-local").Run() |
| 747 | } |
| 748 | |
| 749 | func (s local) runUI(ctx context.Context) (err error) { |
| 750 | logInfo.Printf("Starting UI\n") |