summaryrefslogtreecommitdiff
path: root/cli/resolver.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-03 10:45:01 +0200
committerGitHub <noreply@github.com>2024-09-03 10:45:01 +0200
commitbf7571a6f93659ef087ef529225642ce85e215d4 (patch)
tree189dd9ddbb150c45190f5c18a0e6a91ead099595 /cli/resolver.rs
parent3f6740ca52b938c5b792991d72b921c59cdda4d0 (diff)
fix: make some warnings more standard (#25324)
Diffstat (limited to 'cli/resolver.rs')
-rw-r--r--cli/resolver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/resolver.rs b/cli/resolver.rs
index e0a33bf3c..3f5f79f77 100644
--- a/cli/resolver.rs
+++ b/cli/resolver.rs
@@ -749,7 +749,7 @@ impl<'a> deno_graph::source::NpmResolver for WorkerCliNpmGraphResolver<'a> {
let line = start.line + 1;
let column = start.character + 1;
if !*DENO_DISABLE_PEDANTIC_NODE_WARNINGS {
- log::warn!("Warning: Resolving \"{module_name}\" as \"node:{module_name}\" at {specifier}:{line}:{column}. If you want to use a built-in Node module, add a \"node:\" prefix.")
+ log::warn!("{} Resolving \"{module_name}\" as \"node:{module_name}\" at {specifier}:{line}:{column}. If you want to use a built-in Node module, add a \"node:\" prefix.", colors::yellow("Warning"))
}
}