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) => {