Skip to content

fix: limit progress bar length to 40 when no columns provided#9815

Closed
haoqunjiang wants to merge 2 commits intowebpack:mainfrom
haoqunjiang:fix-progress-length
Closed

fix: limit progress bar length to 40 when no columns provided#9815
haoqunjiang wants to merge 2 commits intowebpack:mainfrom
haoqunjiang:fix-progress-length

Conversation

@haoqunjiang
Copy link
Copy Markdown
Contributor

@haoqunjiang haoqunjiang commented Oct 13, 2019

See the comment here: #9225 (comment)
There are several cases where process.stderr.columns could be undefined. Like, in the Vue CLI UI console, or in a CI log page. But that doesn't mean there's infinity room to display the lines. In these cases, we should fall back to the old behavior of the 40 max length.

What kind of change does this PR introduce?

A bugfix

Did you add tests for your changes?

Yes

Does this PR introduce a breaking change?

No

What needs to be documented once your changes are merged?

Nothing.

@webpack-bot
Copy link
Copy Markdown
Contributor

For maintainers only:

  • This need to be documented (issue in webpack/webpack.js.org will be filed when merged)

@sokra sokra changed the base branch from master to webpack-4 October 14, 2019 17:35
@sokra sokra closed this Oct 15, 2019
@sokra sokra reopened this Oct 15, 2019
@haoqunjiang haoqunjiang requested a review from sokra February 24, 2020 02:41
@sokra sokra closed this Aug 12, 2020
@sokra sokra reopened this Aug 12, 2020
@sokra sokra changed the base branch from webpack-4 to master August 12, 2020 21:25
@sokra sokra closed this Aug 12, 2020
@sokra sokra reopened this Aug 12, 2020
@webpack-bot
Copy link
Copy Markdown
Contributor

@sodatea The most important CI builds failed. This way your PR can't be merged.

Please take a look at the CI results from travis (failure) and appveyor (failure) and fix these issues.

@vankop vankop closed this Sep 15, 2021
@vankop vankop reopened this Sep 15, 2021
@linux-foundation-easycla
Copy link
Copy Markdown

CLA Not Signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants