lib/bagit/file.rb in bagit-0.4.3 vs lib/bagit/file.rb in bagit-0.4.4
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
class File
# Clean out all the empty dirs
def self.clean(file_name)
return unless File.directory? file_name
# clean all subdirs