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 = CouchRest::FileManager.new(database)
|
||||||
fm.loud = options[:loud]
|
fm.loud = options[:loud]
|
||||||
puts "Pushing views from directory #{directory} to database #{fm.db}"
|
|
||||||
|
if options[:loud]
|
||||||
|
puts "Pushing views from directory #{directory} to database #{fm.db}"
|
||||||
|
end
|
||||||
|
|
||||||
fm.push_views(directory)
|
fm.push_views(directory)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue