diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-07-12 15:33:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-12 15:33:30 -0400 |
commit | 9510a8b7d19798f08a6513ee303a63247306bc66 (patch) | |
tree | ca0e47020582784d82509039798289adf147a079 /cli/args/mod.rs | |
parent | 17111589848045b1f2d6b6b47f077c5b63accfc0 (diff) |
fix(config): regression - should not discover npm workspace for nested deno.json not in workspace (#24559)
Closes #24554
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r-- | cli/args/mod.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs index a1c8efc31..aaa8185af 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -902,11 +902,7 @@ impl CliOptions { }), )?; - let maybe_lock_file = CliLockfile::discover( - &flags, - root_folder.deno_json.as_deref(), - root_folder.pkg_json.as_deref(), - )?; + let maybe_lock_file = CliLockfile::discover(&flags, &workspace)?; log::debug!("Finished config loading."); |