File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
- " 0.10"
4
4
before_script :
5
5
-
node script/create-test-tables.js pg://[email protected] :5432/postgres
6
+ before_install :
7
+ - npm install -g npm@~1.4.6
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ var parse = function(str) {
39
39
config . fallback_application_name = result . query . fallback_application_name ;
40
40
}
41
41
42
+ config . port = result . port ;
42
43
if ( result . protocol == 'socket:' ) {
43
44
config . host = decodeURI ( result . pathname ) ;
44
45
config . database = result . query . db ;
@@ -50,7 +51,6 @@ var parse = function(str) {
50
51
var auth = ( result . auth || ':' ) . split ( ':' ) ;
51
52
config . user = auth [ 0 ] ;
52
53
config . password = auth [ 1 ] ;
53
- config . port = result . port ;
54
54
55
55
var ssl = result . query . ssl ;
56
56
if ( ssl === 'true' || ssl === '1' ) {
@@ -66,7 +66,7 @@ var useSsl = function() {
66
66
return false ;
67
67
case "prefer" :
68
68
case "require" :
69
- case "verify-ca" :
69
+ case "verify-ca" :
70
70
case "verify-full" :
71
71
return true ;
72
72
}
You can’t perform that action at this time.
0 commit comments