This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/master by this push: new b1a7e04 fix: Path#toString() variable reference bug new d1985b7 Merge pull request #1056 from thefliik/patch-1 b1a7e04 is described below commit b1a7e04d0978d4ccfb677daa99da4ea0cc369027 Author: thefliik <thefl...@yahoo.com> AuthorDate: Tue Feb 5 12:33:42 2019 -0800 fix: Path#toString() variable reference bug --- .../src/main/javascript/gremlin-javascript/lib/structure/graph.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.js b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.js index e7bf376..e35f607 100644 --- a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.js +++ b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.js @@ -128,7 +128,7 @@ class Path { } toString() { - return 'path[' + objects.join(", ") + ']'; + return 'path[' + this.objects.join(", ") + ']'; } equals(other) { @@ -170,4 +170,4 @@ module.exports = { Property: Property, Vertex: Vertex, VertexProperty: VertexProperty -}; \ No newline at end of file +};