lib/imap/backup/cli/folders.rb in imap-backup-4.0.7 vs lib/imap/backup/cli/folders.rb in imap-backup-4.1.1
- old
+ new
@@ -12,10 +12,12 @@
no_commands do
def run
each_connection(account_names) do |connection|
puts connection.username
- folders = connection.folders
+ # TODO: Make folder_names private once this command
+ # has been removed.
+ folders = connection.folder_names
if folders.nil?
warn "Unable to list account folders"
return false
end
folders.each { |f| puts "\t#{f}" }