Skip to content

Fix tree.walk() and add test#929

Merged
johnhaley81 merged 6 commits into
masterfrom
tree-walk-fix
Mar 1, 2016
Merged

Fix tree.walk() and add test#929
johnhaley81 merged 6 commits into
masterfrom
tree-walk-fix

Conversation

@jdgarcia

Copy link
Copy Markdown
Collaborator

Fix for #928

This is the non-api breaking change.
How does anyone feel about changing walk to return a promise (with a progress callback) instead of an event emitter? (ex: tree.walk().then(entries => ...))

John Haley added 3 commits March 1, 2016 09:57
Neither `[v for (v of set)]` nor `Array.from` work in Node 0.12 so we have to maintain our own list of entries instead of re-iterating through them to create the final array result.
johnhaley81 added a commit that referenced this pull request Mar 1, 2016
@johnhaley81 johnhaley81 merged commit 2caee3c into master Mar 1, 2016
@johnhaley81 johnhaley81 removed the ready label Mar 1, 2016
@johnhaley81 johnhaley81 deleted the tree-walk-fix branch March 1, 2016 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants