summaryrefslogtreecommitdiff
path: root/cli/module_loader.rs
diff options
context:
space:
mode:
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) {