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.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs
index b61b4304e..462b41cbb 100644
--- a/cli/module_loader.rs
+++ b/cli/module_loader.rs
@@ -77,11 +77,10 @@ impl CliModuleLoader {
specifier: &ModuleSpecifier,
maybe_referrer: Option<ModuleSpecifier>,
) -> Result<ModuleCodeSource, AnyError> {
- // TODO(bartlomieju): uncomment, when all `node:` module have been
- // snapshotted
- // if specifier.scheme() == "node" {
- // unreachable!("Node built-in modules should be handled internally.");
- // }
+ if specifier.scheme() == "node" {
+ unreachable!("Node built-in modules should be handled internally.");
+ }
+
let graph = self.ps.graph();
match graph.get(specifier) {
Some(deno_graph::Module {