MCPcopy Index your code
hub / github.com/rilldata/rill / runUIInstall

Method runUIInstall

cli/cmd/devtool/start.go:736–747  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

734}
735
736func (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
749func (s local) runUI(ctx context.Context) (err error) {
750 logInfo.Printf("Starting UI\n")

Callers 1

startMethod · 0.95

Calls 3

newCmdFunction · 0.85
PrintfMethod · 0.80
RunMethod · 0.45

Tested by

no test coverage detected