Skip to content

Commit

Permalink
Fail silently on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Jan 9, 2012
1 parent dccd8c3 commit 2b894d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/growl.js
@@ -1,4 +1,3 @@

// Growl - Copyright TJ Holowaychuk <tj@vision-media.ca> (MIT Licensed) // Growl - Copyright TJ Holowaychuk <tj@vision-media.ca> (MIT Licensed)


/** /**
Expand Down Expand Up @@ -95,12 +94,13 @@ exports.version = '1.4.1'


function growl(msg, options, fn) { function growl(msg, options, fn) {
var image var image
, args = [cmd.pkg] , args
, options = options || {} , options = options || {}
, fn = fn || function(){}; , fn = fn || function(){};


// noop // noop
if (!cmd) return fn(new Error('growl not supported on this platform')); if (!cmd) return fn(new Error('growl not supported on this platform'));
args = [cmd.pkg];


// image // image
if (image = options.image) { if (image = options.image) {
Expand Down

0 comments on commit 2b894d0

Please sign in to comment.