summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-09-03 18:19:30 +0200
committerGitHub <noreply@github.com>2022-09-03 18:19:30 +0200
commite324151520c62c9503e5e38da66827cd7815ea14 (patch)
tree51449e9ea202b758a4ac74210b97f6c9b65d26e7 /cli/main.rs
parentfc4025c878a7986576f693ed3ad297212f6a99de (diff)
BREAKING(unstable): remove --compat mode (#15678)
This commit removes "compat" mode. We shipped support for "npm:" specifier support in v1.25 and that is preferred way to interact with Node code that we will iterate and improve upon.
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/main.rs b/cli/main.rs
index f089eeed6..98b5325b0 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -5,7 +5,6 @@ mod auth_tokens;
mod cache;
mod cdp;
mod checksum;
-mod compat;
mod deno_dir;
mod deno_std;
mod diagnostics;
@@ -806,8 +805,6 @@ async fn run_command(
return run_with_watch(flags, run_flags.script).await;
}
- // TODO(bartlomieju): it should not be resolved here if we're in compat mode
- // because it might be a bare specifier
// TODO(bartlomieju): actually I think it will also fail if there's an import
// map specified and bare specifier is used on the command line - this should
// probably call `ProcState::resolve` instead