Skip to content

Commit

Permalink
Merge branch 'win32compatibility' of https://github.com/bradledbetter…
Browse files Browse the repository at this point in the history
…/netrc into win32compatibility
  • Loading branch information
kennethormandy committed Sep 3, 2015
2 parents 44290a9 + 9e8dc01 commit 605e29b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = exports = function(file) {
var home = getHomePath();

if (!file && !home) return {};
file = file || join(home, '.netrc');
file = file || join(home, (/^win/.test(process.platform)?"_netrc":".netrc"));

if (!file || !fs.existsSync(file)) return {};
var netrc = fs.readFileSync(file, 'UTF-8');
Expand Down
Empty file modified package.json
100644 → 100755
Empty file.

0 comments on commit 605e29b

Please sign in to comment.