Browse Source

Revert "Made `now whoami` return the correct team context" (#824)

* Revert "Deploy on Now if no provider is specified (#821)"

This reverts commit bbb33417ee.

* Revert "Made `now whoami` return the correct team context (#823)"

This reverts commit a9e6e6c247.
master
Leo Lamprecht 7 years ago
committed by Matheus Fernandes
parent
commit
ebcc92c879
  1. 9
      src/providers/sh/commands/whoami.js

9
src/providers/sh/commands/whoami.js

@ -62,16 +62,11 @@ module.exports = async ctx => {
}
}
async function whoami({user, currentTeam}) {
async function whoami({user}) {
if (process.stdout.isTTY) {
process.stdout.write('> ')
}
let name = user.username || user.email
if (currentTeam) {
name = currentTeam.slug
}
const name = user.username || user.email
console.log(name)
}

Loading…
Cancel
Save