Browse Source

fix for windows

master
Guillermo Rauch 9 years ago
parent
commit
24a9e32a9d
  1. 3
      lib/utils/to-human-path.js

3
lib/utils/to-human-path.js

@ -1,7 +1,8 @@
import { resolve } from 'path';
import { homedir } from 'os';
// cleaned-up `$HOME` (i.e.: no trailing slash)
const HOME = resolve(process.env.HOME);
const HOME = resolve(homedir());
/**
* Attempts to show the given path in

Loading…
Cancel
Save