Skip to content

Commit 9b1c003

Browse files
committed
webui: silence more build spam
1 parent 2d83219 commit 9b1c003

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

webui/esbuild.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import (
1616
"os/exec"
1717
"path/filepath"
1818
"strings"
19-
"time"
2019

2120
esbuildcli "github.com/evanw/esbuild/pkg/cli"
2221
)
@@ -79,13 +78,11 @@ func ensureNodeModules(buildDir string) error {
7978

8079
// runNpmCI executes npm ci and stores the package-lock.json content
8180
func runNpmCI(buildDir, packageLockPath, packageLockBackupPath string) error {
82-
start := time.Now()
8381
cmd := exec.Command("npm", "ci", "--omit", "dev")
8482
cmd.Dir = buildDir
8583
if out, err := cmd.CombinedOutput(); err != nil {
8684
return fmt.Errorf("npm ci: %s: %v", out, err)
8785
}
88-
fmt.Printf("[BUILD] npm ci completed in %v\n", time.Since(start))
8986

9087
// Store a copy of package-lock.json for future comparisons
9188
packageLockData, err := os.ReadFile(packageLockPath)

0 commit comments

Comments
 (0)