Permalink
Browse files

Merge pull request #11 from paulmillr/patch-1

Fail silently on non-osx / linux.
  • Loading branch information...
2 parents dccd8c3 + 2b894d0 commit 2a7ba1fc237463c30cec426362af32bded7c3cee @tj committed Jan 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/growl.js
View
@@ -1,4 +1,3 @@
-
// Growl - Copyright TJ Holowaychuk <tj@vision-media.ca> (MIT Licensed)
/**
@@ -95,12 +94,13 @@ exports.version = '1.4.1'
function growl(msg, options, fn) {
var image
- , args = [cmd.pkg]
+ , args
, options = options || {}
, fn = fn || function(){};
// noop
if (!cmd) return fn(new Error('growl not supported on this platform'));
+ args = [cmd.pkg];
// image
if (image = options.image) {

0 comments on commit 2a7ba1f

Please sign in to comment.