Skip to content

Commit

Permalink
fix(web-server): since node 12 there is no util.puts
Browse files Browse the repository at this point in the history
  • Loading branch information
yadimon committed Mar 12, 2020
1 parent 23e4b30 commit 7f02060
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions testapp/scripts/web-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
var express = require('express');
var bodyParser = require('body-parser')
var optimist = require('optimist');
var util = require('util');
var path = require('path');
var env = require('../../spec/environment.js');

Expand All @@ -27,7 +26,7 @@ var main = function() {
testApp.use(bodyParser.json());
testApp.use(testMiddleware);
testApp.listen(port);
util.puts(["Starting express web server in", testAppDir ,"on port", port].
console.log(["Starting express web server in", testAppDir ,"on port", port].
join(" "));
};

Expand Down

0 comments on commit 7f02060

Please sign in to comment.