Browse Source

Fix file count with 1 file (#599)

master
Albin Ekblom 8 years ago
committed by Guillermo Rauch
parent
commit
55184e917f
  1. 2
      bin/now-deploy.js

2
bin/now-deploy.js

@ -582,7 +582,7 @@ async function sync({ token, config: { currentTeam, user } }) {
)
}
const size = bytes(now.syncAmount)
const syncCount = `${now.syncFileCount} file${now.syncFileCount > 1 && 's'}`
const syncCount = `${now.syncFileCount} file${now.syncFileCount > 1 ? 's' : ''}`
const bar = new Progress(
`> Upload [:bar] :percent :etas (${size}) [${syncCount}]`,
{

Loading…
Cancel
Save