Skip to content
Browse files

Added new file for misc helpers.

  • Loading branch information...
1 parent f088f04 commit 607cbae3a3cd8617526030ea4b567f65852733f5 @mcantelon committed Jan 25, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/helpers.js
View
5 lib/helpers.js
@@ -0,0 +1,5 @@
+exports.homeDir = function() {
+ return (process.env.HOME == undefined)
+ ? process.env.USERPROFILE
+ : process.env.HOME;
+}

0 comments on commit 607cbae

Please sign in to comment.
Something went wrong with that request. Please try again.