Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[local|storage] Fix Local::File deletion for Ruby 1.8.
Ruby 1.8 doesn't have a Dir.exists? method, which causes an exception and prevents empty parent directories from being deleted. These changes use File.exists? and File.directory? in place of Dir.exists?. Fixes fog#707.
- Loading branch information