Lerna: [Feature] Flag for turning off progressbar

Created on 7 Jul 2016  路  3Comments  路  Source: lerna/lerna

I would like an explicit flag/env-variable for turning off the progress bar, because NODE_ENV=test might create other side effects. My specific issue is with travis.

Error with travis:

project/node_modules/progress/lib/node-progress.js:131
  complete = Array(completeLength + 1).join(this.chars.complete);
             ^
RangeError: Invalid array length

https://github.com/lerna/lerna/blob/b75a2374b73e8a2a58a4613aab7e9c753296662f/src/progressBar.js#L21

Maybe LERNA_CONFIG_PROGRESS=false or something?

Enhancement stale

Most helpful comment

I would just copy whatever flag npm already uses for this, I believe it's --no-progress

All 3 comments

I would just copy whatever flag npm already uses for this, I believe it's --no-progress

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iTonyYo picture iTonyYo  路  3Comments

nomcopter picture nomcopter  路  3Comments

loganmccaul picture loganmccaul  路  3Comments

acao picture acao  路  3Comments

nicolasrenon picture nicolasrenon  路  3Comments