Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure all directory pops are noticed #292

Merged
merged 1 commit into from
Oct 29, 2019
Merged

Make sure all directory pops are noticed #292

merged 1 commit into from
Oct 29, 2019

Conversation

squaremo
Copy link
Member

The original implementation of fs.walk avoided pushing empty slices
onto the stack; however, this meant it missed calling the post hook in
the case when the last entry in a directory was itself a directory.

Copy link
Member

@dlespiau dlespiau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\o/

The original implementation of `fs.walk` avoided pushing empty slices
onto the stack; however, this meant it missed calling the post hook in
the case when the last entry in a directory was itself a directory.
@squaremo squaremo merged commit 79abb82 into master Oct 29, 2019
@squaremo squaremo deleted the fix-fs-post branch October 29, 2019 09:59
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