@ -146,9 +144,7 @@ async function list({ token, config: { currentTeam, user } }) {
returnMath.max(acc,(i.url&&i.url.length)||0)
returnMath.max(acc,(i.url&&i.url.length)||0)
},0)+5
},0)+5
consttimeNow=newDate()
consttimeNow=newDate()
console.log(
console.log(`> ${deployments.length} deployment${deployments.length===1?'':'s'} found under ${chalk.bold((currentTeam&¤tTeam.slug)||user.username||user.email)}${chalk.grey('['+ms(timeNow-start)+']')}`)
`> ${deployments.length} deployment${deployments.length===1?'':'s'} found under ${chalk.bold((currentTeam&¤tTeam.slug)||user.username||user.email)}${chalk.grey('['+ms(timeNow-start)+']')}`
)
letshouldShowAllInfo=false
letshouldShowAllInfo=false
for(constappofapps){
for(constappofapps){
@ -162,16 +158,12 @@ async function list({ token, config: { currentTeam, user } }) {
}
}
}
}
if(!argv.all&&shouldShowAllInfo){
if(!argv.all&&shouldShowAllInfo){
console.log(
console.log(`> To expand the list and see instances run ${chalk.cyan('`now ls --all [app]`')}`)
`> To expand the list and see instances run ${chalk.cyan('`now ls --all [app]`')}`