Permalink
Browse files

Guard UI

  • Loading branch information...
1 parent 362b717 commit 8881e03d5970771b969c455c16d06f22dbe51f6e @carlhoerberg carlhoerberg committed Aug 20, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/guard/jammit.rb
View
@@ -49,11 +49,11 @@ def jammit
::Jammit.load_configuration @options[:config] || ::Jammit::DEFAULT_CONFIG_PATH
::Jammit.packager.force = true
::Jammit.packager.precache_all
- ::Guard::Notifier.info('Jamming')
+ ::Guard::UI.info('Jamming')
::Guard::Notifier.notify('Jamming', :title => 'Jammit')
true
rescue Exception => e
- ::Guard::Notifier.error("Jammit failed (#{e})")
+ ::Guard::UI.error("Jammit failed (#{e})")
::Guard::Notifier.notify('Jammit failed', :title => 'Jammit', :image => :failed)
false
end

0 comments on commit 8881e03

Please sign in to comment.