Skip to content

Commit

Permalink
Merge pull request #1772 from am11/home-dir
Browse files Browse the repository at this point in the history
Config: Prioritize userprofile for HOME search
  • Loading branch information
rwaldron committed Aug 8, 2014
2 parents 7b1e1aa + 6441751 commit e99e69c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.js
Expand Up @@ -92,8 +92,8 @@ function findConfig(file) {

function getHomeDir() {
var environment = global.process.env;
var paths = [environment.HOME,
environment.USERPROFILE,
var paths = [environment.USERPROFILE,
environment.HOME,
environment.HOMEPATH,
environment.HOMEDRIVE + environment.HOMEPATH];

Expand Down

0 comments on commit e99e69c

Please sign in to comment.