diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-03-13 14:18:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 18:18:29 +0000 |
commit | 44b0d4cb11853bcdc7aa61c1412719a13d572b24 (patch) | |
tree | 074bcf6b77b4174343c4d0f3c239c53b7adf8350 /cli/proc_state.rs | |
parent | e8f22c076525c2fa55115349157f67085df287bf (diff) |
fix(npm): show a progress bar when initializing the node_modules folder (#18136)
Creating the node_modules folder when the packages are already
downloaded can take a bit of time and not knowing what is going on can
be confusing. It's better to show a progress bar.
Diffstat (limited to 'cli/proc_state.rs')
-rw-r--r-- | cli/proc_state.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/proc_state.rs b/cli/proc_state.rs index 3d7130e5a..52afcd631 100644 --- a/cli/proc_state.rs +++ b/cli/proc_state.rs @@ -239,6 +239,7 @@ impl ProcState { ); let npm_fs_resolver = create_npm_fs_resolver( npm_cache, + &progress_bar, npm_registry_url, npm_resolution.clone(), cli_options.node_modules_dir_path(), |