lib/softcover/commands/publisher.rb in softcover-0.9.12 vs lib/softcover/commands/publisher.rb in softcover-0.9.13
- old
+ new
@@ -83,10 +83,11 @@
current_book.process_media
end
def exit_with_message
number = current_book.processed_media.size
- puts "Processed #{number} directory."
+ dir = number == 1 ? "directory" : "directories"
+ puts "Processed #{number} #{dir}"
end
def unpublish!(slug=nil)
require "rest_client"
require "softcover/client"