diff --git a/HISTORY.md b/HISTORY.md index 3fc58f4..bdde823 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,4 +1,9 @@ +0.21.1 / 2016-08-17 +=================== + + * fix for windows [@rauchg] + 0.21.0 / 2016-08-16 ================== diff --git a/lib/utils/to-human-path.js b/lib/utils/to-human-path.js index a8533c9..4b03f0a 100644 --- a/lib/utils/to-human-path.js +++ b/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 diff --git a/package.json b/package.json index ac0b13e..ac23f8e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "now", - "version": "0.21.0", + "version": "0.21.1", "description": "realtime instant node.js deployment with one command", "readme": "", "main": "./build/lib/index",