From 85fc7fc336a4f58c408f29a615d335b77ceb7af4 Mon Sep 17 00:00:00 2001 From: Naoyuki Kanezawa Date: Thu, 1 Sep 2016 13:53:44 +0900 Subject: [PATCH] fix the initial value of the env option (#131) --- bin/now-deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/now-deploy b/bin/now-deploy index 22d67ed..a5546e7 100755 --- a/bin/now-deploy +++ b/bin/now-deploy @@ -239,7 +239,7 @@ async function sync (token) { const now = new Now(apiUrl, token, { debug }); - const envs = [].concat(argv.env); + const envs = [].concat(argv.env || []); let secrets; const findSecret = async (uidOrName) => {