Skip to content

Commit

Permalink
Fix Groovy scoping issue in the friendsuggest example, also described…
Browse files Browse the repository at this point in the history
… in sevenweeks#1.
  • Loading branch information
yoni committed Dec 24, 2013
1 parent e178b84 commit 5039a17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chap7-neo4j/friendsuggest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Gremlin.defineStep( 'friendsuggest',
[Vertex, Pipe],
{
_().sideEffect{start = it}.both('friends').
except([start]).out('likes').dedup
_().both('friends').
except([_()]).out('likes').dedup
}
)

0 comments on commit 5039a17

Please sign in to comment.