Skip to content

Commit 9b963d7

Browse files
committed
Add var to stop extraparams to leak
Fixes #18
1 parent 94383a3 commit 9b963d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ exports.connect = function(config, intern, callback) {
515515

516516
mongoString += host + '/' + config.database;
517517

518-
extraParams = [];
518+
var extraParams = [];
519519
if (config.ssl) {
520520
extraParams.push('ssl=true');
521521
}

0 commit comments

Comments
 (0)