Просмотр исходного кода

stderr is redirected to stderr, it was stderr->stdout before

Gamaliel Espinoza лет назад: 7
Родитель
Сommit
c27e1337ae
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ondemand.js

+ 1 - 1
ondemand.js

@@ -63,7 +63,7 @@ function process_queue() {
     console.log("ondemand data: " + data);
   });
   proc.stderr.on("data", data => {
-    console.log("ondemand error: " + data);
+    console.error("ondemand error: " + data);
   });
   proc.on("exit", code => {
     working = false;