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:
parent
e718e3f471
commit
4f72d0cd61
1 changed files with 1 additions and 1 deletions
|
@ -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;",
|
||||
|
|
Loading…
Add table
Reference in a new issue