Permalink
Browse files

Fail silently on windows.

  • Loading branch information...
1 parent dccd8c3 commit 2b894d0e54139044ff2303acefd21b8067b473b9 @paulmillr paulmillr 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 2b894d0

Please sign in to comment.