From b73387647cdc1445a9c8a0ea000d8f1fae4d02f8 Mon Sep 17 00:00:00 2001 From: Ole-Martin Bratteng <1681525+omBratteng@users.noreply.github.com> Date: Sat, 19 Oct 2019 14:42:37 +0200 Subject: [PATCH] v.js: make eprintln use console.error --- vlib/builtin/js/builtin.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/js/builtin.v b/vlib/builtin/js/builtin.v index 75096cb324..c2287decb0 100644 --- a/vlib/builtin/js/builtin.v +++ b/vlib/builtin/js/builtin.v @@ -23,7 +23,7 @@ pub fn println(s string) { } pub fn eprintln(s string) { - #console.log(s) + #console.error(s) } pub fn print(s string) {