summaryrefslogtreecommitdiff
path: root/cli/module_loader.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-07-28 15:41:10 -0400
committerGitHub <noreply@github.com>2024-07-28 15:41:10 -0400
commit50fa4d7ef5d0615d60042eda72e34adb773e2ecf (patch)
treec9a4e077abdbb2a85eb343cd58a5bb5c37c44754 /cli/module_loader.rs
parent99e811f5eb8070cfa41272c9e630c7767cac22c2 (diff)
fix: actually add missing `node:readline/promises` module (#24772)
Closes #24768
Diffstat (limited to 'cli/module_loader.rs')
-rw-r--r--cli/module_loader.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs
index bda4e58d8..3ac222b01 100644
--- a/cli/module_loader.rs
+++ b/cli/module_loader.rs
@@ -612,7 +612,8 @@ impl<TGraphContainer: ModuleGraphContainer>
maybe_referrer: Option<&ModuleSpecifier>,
) -> Result<CodeOrDeferredEmit<'graph>, AnyError> {
if specifier.scheme() == "node" {
- unreachable!(); // Node built-in modules should be handled internally.
+ // Node built-in modules should be handled internally.
+ unreachable!("Deno bug. {} was misconfigured internally.", specifier);
}
match graph.get(specifier) {