We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea18e27 commit 818cd57Copy full SHA for 818cd57
cwltool/cwlNodeEngineJSConsole.js
@@ -1,9 +1,9 @@
1
"use strict";
2
function js_console_log(){
3
- console.error("[log] "+util.format.apply(this, arguments).split("\n").join("\n[log] "));
+ console.error("[log] "+require("util").format.apply(this, arguments).split("\n").join("\n[log] "));
4
}
5
function js_console_err(){
6
- console.error("[err] "+util.format.apply(this, arguments).split("\n").join("\n[err] "));
+ console.error("[err] "+require("util").format.apply(this, arguments).split("\n").join("\n[err] "));
7
8
process.stdin.setEncoding("utf8");
9
var incoming = "";
0 commit comments