summaryrefslogtreecommitdiff
path: root/cli/module_loader.rs
diff options
context:
space:
mode:
authorawait-ovo <13152410380@163.com>2023-08-02 07:20:08 +0800
committerGitHub <noreply@github.com>2023-08-01 23:20:08 +0000
commitfec34d8069517be195193cd3578e7988d39fd0e1 (patch)
tree3fa2192d9bdd9a6d3e20b7fe32b726f86cde2e09 /cli/module_loader.rs
parent21f1b2f62b1fac9089c214d9b862fce2359d30fd (diff)
fix(ext/node): fix import json using npm specifier (#19723)
Diffstat (limited to 'cli/module_loader.rs')
-rw-r--r--cli/module_loader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs
index 6f1a23761..b47e2efee 100644
--- a/cli/module_loader.rs
+++ b/cli/module_loader.rs
@@ -786,7 +786,7 @@ impl NpmModuleLoader {
permissions,
)?
} else {
- // esm code is untouched
+ // esm and json code is untouched
code
};
Ok(ModuleCodeSource {