Skip to content

Commit 9e0a8b9

Browse files
author
gabrielvv
committed
missing path module and console.err -> console.error
1 parent f0d6dff commit 9e0a8b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

result/server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
var express = require('express'),
22
async = require('async'),
33
pg = require("pg"),
4+
path = require("path"),
45
cookieParser = require('cookie-parser'),
56
bodyParser = require('body-parser'),
67
methodOverride = require('method-override'),
@@ -33,7 +34,7 @@ async.retry(
3334
},
3435
function(err, client) {
3536
if (err) {
36-
return console.err("Giving up");
37+
return console.error("Giving up");
3738
}
3839
console.log("Connected to db");
3940
getVotes(client);

0 commit comments

Comments
 (0)