The [`toObject`](http://www.nodegit.org/api/tree_entry/#toObject) function of `TreeEntry` has a pointer as one of its parameters. ```JavaScript var result = treeEntry.toObject(object_out, repo); ``` The generated code should be switched to return the object instead of asking for a pointer as a parameter.
The
toObjectfunction ofTreeEntryhas a pointer as one of its parameters.The generated code should be switched to return the object instead of asking for a pointer as a parameter.