From 4f72d0cd61b2054144952d4e133b460edcd97bd7 Mon Sep 17 00:00:00 2001 From: Viktor Marinho <56888067+viktormarinho@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:46:46 -0300 Subject: [PATCH] use console.warn instead of console.error for warning message Signed-off-by: Viktor Marinho <56888067+viktormarinho@users.noreply.github.com> --- runtime/js/99_main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index e3b14fdafa8719..c874c5082dc69a 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -629,7 +629,7 @@ function bootstrapMainRuntime(runtimeOptions, warmup = false) { if (serve) { if (mode === executionModes.run) { // deno-lint-ignore no-console - console.error( + console.warn( `%cwarning: %cDetected %cexport default { fetch }%c, did you mean to run \"deno serve\"?`, "color: yellow;", "color: inherit;",