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

spmallette pushed a commit to branch TINKERPOP-1959-tp33
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 94f74777abf1b46709eeb662c88d04403963f9fd
Author: Stephen Mallette <[email protected]>
AuthorDate: Mon Oct 8 11:12:43 2018 -0400

    TINKERPOP-1959 Minor fix to upgrade docs
---
 docs/src/upgrade/release-3.2.x-incubating.asciidoc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc 
b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
index 72c0a1c..12f95af 100644
--- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
+++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
@@ -137,8 +137,7 @@ const connection = new 
gremlin.driver.Client('ws://localhost:8182/gremlin', { tr
 const translator = new gremlin.process.Translator('g');
 
 const g = graph.traversal();
-g.V().tail();
-const script = translator.translate(g.getBytecode());
+const script = translator.translate(g.V().tail().getBytecode());
 
 connection.submit(script)
     .then(response => {

Reply via email to