This is an automated email from the ASF dual-hosted git repository.

jorgebg pushed a commit to branch tp33
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/tp33 by this push:
     new 346d984  TINKERPOP-2130 Fix default parameter assignment in Connection 
ctor
     new e23cf5e  Merge pull request #1038 from nivsherf/TINKERPOP-2130
346d984 is described below

commit 346d984b0026206c198ad38ffbfcc3e261e8f830
Author: Niv Sherf <nivsh...@gmail.com>
AuthorDate: Thu Jan 10 15:38:07 2019 +0200

    TINKERPOP-2130 Fix default parameter assignment in Connection ctor
---
 .../src/main/javascript/gremlin-javascript/lib/driver/connection.js     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/connection.js
 
b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/connection.js
index 76d3cf0..0ae340c 100644
--- 
a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/connection.js
+++ 
b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/connection.js
@@ -70,7 +70,7 @@ class Connection extends EventEmitter {
     super();
 
     this.url = url;
-    this.options = options || {};
+    this.options = options = options || {};
 
     // A map containing the request id and the handler
     this._responseHandlers = {};

Reply via email to