Browse Source

Fix regression where setting a single env variable with `-e` failed (#141)

master
Jarmo Isotalo 8 years ago
committed by Guillermo Rauch
parent
commit
1fb629da63
  1. 2
      bin/now-deploy.js

2
bin/now-deploy.js

@ -304,7 +304,7 @@ async function sync(token) {
const pkgEnv = pkgConfig.env
const envs = [
...Object.keys(pkgEnv || {}).map(k => `${k}=${pkgEnv[k]}`),
...(argv.env || [])
...[].concat(argv.env || [])
]
let secrets

Loading…
Cancel
Save