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

FileUtils.cd now returns result of block, if given #13

Merged
merged 1 commit into from
May 14, 2018
Merged

Conversation

marcandre
Copy link
Member

@marcandre marcandre commented Dec 4, 2017

Contrary to Dir.chdir, FileUtils.chdir ignores the result of the block.

This fixes it.

Should this be committed to MRI's trunk, or here?

@hsbt hsbt merged commit 987e456 into master May 14, 2018
@hsbt hsbt deleted the useful_returns branch May 14, 2018 03:29
@hsbt
Copy link
Member

hsbt commented May 14, 2018

@marcandre Thanks. I will merge this into ruby repository for Ruby 2.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants