tmpvar / repl.history

persist a node repl's history
MIT License
55 stars 19 forks source link

Use of `process.env.HOME` in example fails on windows. #12

Closed harrysarson closed 7 years ago

harrysarson commented 7 years ago

For me - when running on windows - process.env.HOME is undefined.

Will submit a pull request replacing process.env.HOME with require('os').homedir() which has better cross platform support.

eush77 commented 7 years ago

Fixed by #13.