Browse Source

Allow `--token` to act without a config file (#855)

master
Leo Lamprecht 8 years ago
committed by Matheus Fernandes
parent
commit
6f56046c2a
  1. 2
      src/now.js

2
src/now.js

@ -424,7 +424,7 @@ const main = async (argv_) => {
token token
}) })
ctx.config.sh = Object.assign(ctx.config.sh, { user }) ctx.config.sh = Object.assign(ctx.config.sh || {}, { user })
} }
if (typeof argv.team === 'string') { if (typeof argv.team === 'string') {

Loading…
Cancel
Save