1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 04:52:26 -05:00

use console.warn instead of console.error for warning message

Signed-off-by: Viktor Marinho <56888067+viktormarinho@users.noreply.github.com>
This commit is contained in:
Viktor Marinho 2024-12-04 17:46:46 -03:00 committed by GitHub
parent e718e3f471
commit 4f72d0cd61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;",