From 24a9e32a9d1c96611edaaeab79a67f725371d8b1 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Wed, 17 Aug 2016 16:36:18 -0700 Subject: [PATCH 1/2] fix for windows --- lib/utils/to-human-path.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 From fbfb7ac5e52932a3a8be565d1fae12a9310b6858 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Wed, 17 Aug 2016 16:40:34 -0700 Subject: [PATCH 2/2] Release 0.21.1 --- HISTORY.md | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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/package.json b/package.json index 8a1a568..0638774 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",