Skip to content

Commit 2c57bd8

Browse files
committed
fix(web-server): since node 12 there is no util.puts
see https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md and nodejs/node#25377
1 parent 23e4b30 commit 2c57bd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎testapp/scripts/web-server.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var main = function() {
2727
testApp.use(bodyParser.json());
2828
testApp.use(testMiddleware);
2929
testApp.listen(port);
30-
util.puts(["Starting express web server in", testAppDir ,"on port", port].
30+
console.log(["Starting express web server in", testAppDir ,"on port", port].
3131
join(" "));
3232
};
3333

0 commit comments

Comments
 (0)