diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-11-14 15:24:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-14 15:24:25 -0500 |
commit | 617350e79c58b6e01984e3d7c7436d243d0e5cff (patch) | |
tree | dadb3c7675d1d49952a30c525bbc6ee3086a78e3 /cli/main.rs | |
parent | de34c7ed29bcce8b46a65f5effe45090b8493ba5 (diff) |
refactor(resolver): move more resolution code into deno_resolver (#26873)
Follow-up to cjs refactor.
This moves most of the resolution code into the deno_resolver crate.
Still pending is the npm resolution code.
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs index 20d2cb6bf..7d3ef0e6a 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -37,6 +37,7 @@ use crate::util::v8::init_v8_flags; use args::TaskFlags; use deno_resolver::npm::ByonmResolvePkgFolderFromDenoReqError; +use deno_resolver::npm::ResolvePkgFolderFromDenoReqError; use deno_runtime::WorkerExecutionMode; pub use deno_runtime::UNSTABLE_GRANULAR_FLAGS; @@ -50,7 +51,6 @@ use deno_runtime::fmt_errors::format_js_error; use deno_runtime::tokio_util::create_and_run_current_thread_with_maybe_metrics; use deno_terminal::colors; use factory::CliFactory; -use npm::ResolvePkgFolderFromDenoReqError; use standalone::MODULE_NOT_FOUND; use standalone::UNSUPPORTED_SCHEME; use std::env; |