Permalink
Browse files

restore compatibility with node < 0.8

  • Loading branch information...
1 parent 5e94ab5 commit af077e5f7ca52b38f8fce695ebac75a255fd0fc7 @fgnass fgnass committed Sep 25, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/growl.js
View
@@ -5,8 +5,9 @@
*/
var exec = require('child_process').exec
- , exists = require('fs').existsSync
+ , fs = require('fs')
, path = require('path')
+ , exists = fs.existsSync || path.existsSync
, os = require('os')
, quote = JSON.stringify
, cmd;

0 comments on commit af077e5

Please sign in to comment.