diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-02-24 19:35:43 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-24 19:35:43 -0500 |
| commit | 033b70af19300a4e34dcf19ab0031245bfc19625 (patch) | |
| tree | ebcd8e9ebd85a974c9845af0291ab3bdb9765704 /cli/standalone.rs | |
| parent | 5683daf1aa1c01f5f4d01879d6ce054b0922faf6 (diff) | |
fix(npm): lazily install package.json dependencies only when necessary (#17931)
This lazily does an "npm install" when any package name matches what's
found in the package.json or when running a script from package.json
with deno task.
Part of #17916
Closes #17928
Diffstat (limited to 'cli/standalone.rs')
| -rw-r--r-- | cli/standalone.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/standalone.rs b/cli/standalone.rs index f5483a9f8..352e04e57 100644 --- a/cli/standalone.rs +++ b/cli/standalone.rs @@ -243,7 +243,7 @@ pub async fn run( false, ps.npm_resolver.api().clone(), ps.npm_resolver.resolution().clone(), - None, + ps.package_json_deps_installer.clone(), ) }, ), |
