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

Method runUIInstall

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

Source from the content-addressed store, hash-verified

588}
589
590func (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
603func (s cloud) runUI(ctx context.Context) (err error) {
604 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