File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import (
16
16
"os/exec"
17
17
"path/filepath"
18
18
"strings"
19
- "time"
20
19
21
20
esbuildcli "github.com/evanw/esbuild/pkg/cli"
22
21
)
@@ -79,13 +78,11 @@ func ensureNodeModules(buildDir string) error {
79
78
80
79
// runNpmCI executes npm ci and stores the package-lock.json content
81
80
func runNpmCI (buildDir , packageLockPath , packageLockBackupPath string ) error {
82
- start := time .Now ()
83
81
cmd := exec .Command ("npm" , "ci" , "--omit" , "dev" )
84
82
cmd .Dir = buildDir
85
83
if out , err := cmd .CombinedOutput (); err != nil {
86
84
return fmt .Errorf ("npm ci: %s: %v" , out , err )
87
85
}
88
- fmt .Printf ("[BUILD] npm ci completed in %v\n " , time .Since (start ))
89
86
90
87
// Store a copy of package-lock.json for future comparisons
91
88
packageLockData , err := os .ReadFile (packageLockPath )
You can’t perform that action at this time.
0 commit comments