diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-12-07 22:35:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 22:35:53 -0500 |
commit | d192cc264020a8eeeafbdde4f06bb9b1cae9a5d2 (patch) | |
tree | 5fde52081f70beb2a9b565d456a8d2ba3c24c5e5 /cli/resolver.rs | |
parent | 3724d44d59950040f6ebbdd87d7eb93bc59c3caa (diff) |
fix: add more warnings when using sloppy imports (#21503)
One warning for when using it with `deno compile` and another when using
it with `deno run`.
Diffstat (limited to 'cli/resolver.rs')
-rw-r--r-- | cli/resolver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/resolver.rs b/cli/resolver.rs index 3cf124217..6fd034979 100644 --- a/cli/resolver.rs +++ b/cli/resolver.rs @@ -431,7 +431,7 @@ fn sloppy_imports_resolve( // show a warning when this happens in order to drive // the user towards correcting these specifiers log::warn!( - "{} Sloppy import resolution {}\n at {}", + "{} Sloppy module resolution {}\n at {}", crate::colors::yellow("Warning"), crate::colors::gray(format!("(hint: {})", hint_message)), if referrer_range.end == deno_graph::Position::zeroed() { |