Skip to content

Commit

Permalink
Merge pull request #458 from steren:patch-5
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 684074895
Change-Id: Idfb1675836c81bb9454957695e7379d30a1a72f0
  • Loading branch information
copybara-github committed Oct 9, 2024
2 parents a8217b8 + 9637018 commit 8091368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nodejs/npm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func buildFn(ctx *gcp.Context) error {
return err
}

if _, err := ctx.Exec([]string{"npm", installCmd, "--quiet"}, gcp.WithEnv("NODE_ENV="+buildNodeEnv), gcp.WithUserAttribution); err != nil {
if _, err := ctx.Exec([]string{"npm", installCmd, "--quiet", "--no-fund", "--no-audit"}, gcp.WithEnv("NODE_ENV="+buildNodeEnv), gcp.WithUserAttribution); err != nil {
return err
}
// Ensure node_modules exists even if no dependencies were installed.
Expand Down

0 comments on commit 8091368

Please sign in to comment.