don't be loud if asked not to be
This commit is contained in:
parent
8f09303b75
commit
572e0d32fc
|
@ -10,7 +10,11 @@ module CouchRest
|
|||
|
||||
fm = CouchRest::FileManager.new(database)
|
||||
fm.loud = options[:loud]
|
||||
|
||||
if options[:loud]
|
||||
puts "Pushing views from directory #{directory} to database #{fm.db}"
|
||||
end
|
||||
|
||||
fm.push_views(directory)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue