Skip to content

Commit 22764e0

Browse files
committed
fix jshint errors in lib/connection-parameters.js
1 parent 6113981 commit 22764e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/connection-parameters.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var add = function(params, config, paramName) {
4848
};
4949

5050
ConnectionParameters.prototype.getLibpqConnectionString = function(cb) {
51-
var params = []
51+
var params = [];
5252
add(params, this, 'user');
5353
add(params, this, 'password');
5454
add(params, this, 'port');
@@ -58,7 +58,7 @@ ConnectionParameters.prototype.getLibpqConnectionString = function(cb) {
5858
if(this.isDomainSocket) {
5959
params.push("host=" + this.getDomainSocketName());
6060
return cb(null, params.join(' '));
61-
}
61+
}
6262
dns.lookup(this.host, function(err, address) {
6363
if(err) return cb(err, null);
6464
params.push("hostaddr=" + address);

0 commit comments

Comments
 (0)