lib/sfn/command_module/callbacks.rb in sfn-3.0.22 vs lib/sfn/command_module/callbacks.rb in sfn-3.0.24
- old
+ new
@@ -30,9 +30,10 @@
type = types.first
clbks = types.map do |c_type|
callbacks_for(c_type)
end.flatten(1).compact.uniq.each do |item|
callback_name, callback, quiet = item
+ quiet = true if config[:print_only]
ui.info "Callback #{ui.color(type.to_s, :bold)} #{callback_name}: #{ui.color('starting', :yellow)}" unless quiet
if(args.empty?)
callback.call
else
callback.call(*args)