Skip to content

Commit b745be0

Browse files
risu729lucasew
authored andcommitted
fix(npm): suppress npm update notifier while npm install (jdx#8152)
Following up jdx#7556. I missed one npm call
1 parent 2c72036 commit b745be0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/npm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ impl Backend for NPMBackend {
208208
.arg(tv.install_path())
209209
.with_pr(ctx.pr.as_ref())
210210
.envs(ctx.ts.env_with_path(&ctx.config).await?)
211+
.env("NPM_CONFIG_UPDATE_NOTIFIER", "false")
211212
.prepend_path(ctx.ts.list_paths(&ctx.config).await)?
212213
.prepend_path(
213214
self.dependency_toolset(&ctx.config)

0 commit comments

Comments
 (0)