diff options
Diffstat (limited to 'cli/module_graph.rs')
-rw-r--r-- | cli/module_graph.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/module_graph.rs b/cli/module_graph.rs index 7cbd4cfcc..f7cfe4226 100644 --- a/cli/module_graph.rs +++ b/cli/module_graph.rs @@ -76,8 +76,10 @@ fn validate_no_file_from_remote( match specifier_url.scheme() { "http" | "https" => {} _ => { - let e = ErrBox::new("PermissionDenied", - "Remote modules are not allowed to statically import local modules. Use dynamic import instead.".to_string() + let e = ErrBox::new( + "PermissionDenied", + "Remote modules are not allowed to statically import local \ + modules. Use dynamic import instead.", ); return Err(err_with_location(e, maybe_location)); } |