Skip to content

Commit

Permalink
Added new file for misc helpers.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcantelon committed Jan 25, 2012
1 parent f088f04 commit 607cbae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/helpers.js
Original file line number Diff line number Diff line change
@@ -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.