lib/integrity/notifier.rb in integrity-integrity-0.1.9.3 vs lib/integrity/notifier.rb in integrity-integrity-0.1.10
- old
+ new
@@ -31,10 +31,10 @@
notifier != Notifier::Base
end
private_class_method :valid?
def notify_of_build(build)
- to_const.notify_of_build(build, config)
+ to_const.notify_of_build(build, config) if to_const
end
private
def to_const
self.class.available[name]