Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoiding infinite loop on very long command names. #1697

Merged
merged 1 commit into from Jul 3, 2020
Merged

Conversation

@philz
Copy link
Contributor

@philz philz commented Oct 3, 2019

If very long command names are registered, grunt --help runs
out of memory trying to generate the help table. This commit
adjusts the width to be at least 20 longer than the maximal
command length.

Fixes #1696

If very long command names are registered, grunt --help runs
out of memory trying to generate the help table. This commit
adjusts the width to be at least 20 longer than the maximal
command length.
@jsf-clabot
Copy link

@jsf-clabot jsf-clabot commented Oct 3, 2019

CLA assistant check
All committers have signed the CLA.

@vladikoff vladikoff merged commit ee70306 into gruntjs:master Jul 3, 2020
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

3 participants