Permalink
Browse files

Return an empty string, so Growl can work when no image is provided.

  • Loading branch information...
1 parent 6bcbfc5 commit 9e7ab70fbcc748acac6e74fc0cdd2e2887ea4303 @fnando committed Sep 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/notifier/growl.rb
View
@@ -14,7 +14,7 @@ def notify(options)
command = [
"growlnotify",
"--name", "test_notifier",
- "--image", options[:image],
+ "--image", options.fetch(:image, ''),
"--priority", "2",
"--message", options[:message],
options[:title]

0 comments on commit 9e7ab70

Please sign in to comment.