diff options
-rw-r--r-- | core/examples/ts_module_loader.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/examples/ts_module_loader.rs b/core/examples/ts_module_loader.rs index 82a3c1079..b57b04493 100644 --- a/core/examples/ts_module_loader.rs +++ b/core/examples/ts_module_loader.rs @@ -47,7 +47,7 @@ impl ModuleLoader for TypescriptModuleLoader { async move { let path = module_specifier .to_file_path() - .map_err(|_| anyhow!("Only file: URLs are supported."))?; + .map_err(|_| anyhow!("Only file:// URLs are supported."))?; let media_type = MediaType::from(&path); let (module_type, should_transpile) = match MediaType::from(&path) { |