Skip to content

Conversation

@triplem
Copy link

@triplem triplem commented Dec 31, 2016

Since I needed this one anyway, and the one implemented in #19 contained unnecessary fixes as well, we keept it simple and do one thing per PR.

@dergachev
Copy link
Owner

That's a scary rm -rf in there.... anyone have an idea of how to do this safer?

@tainewoo
Copy link

maybe it's better to use FileUtils.remove_entry_secure :

http://ruby-doc.org/stdlib-1.9.3/libdoc/fileutils/rdoc/FileUtils.html#method-c-remove_entry_secure

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.

3 participants