-
-
Notifications
You must be signed in to change notification settings - Fork 426
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
fix: truncate command title to stdout width #865
Conversation
Have to figure out how to handle test snapshots... |
@okonet I happened to find the |
This makes sure the task title is as long as possible to fit on a single line of the console output, applying both to regular and functional tasks.
Codecov Report
@@ Coverage Diff @@
## master #865 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 17 17
Lines 592 597 +5
Branches 141 142 +1
=========================================
+ Hits 592 597 +5
Continue to review full report at Codecov.
|
🎉 This PR is included in version 10.2.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@@ -33,6 +33,7 @@ | |||
}, | |||
"dependencies": { | |||
"chalk": "^4.0.0", | |||
"cli-truncate": "2.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey! I was wondering if there's a reason why this dependency was locked to a specific version instead of using ^
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No reason, I'm pretty sure I just installed it with yarn add
. Thanks for noticing, I'll create a fix for relaxing to ^
.
This makes sure the task title is as long as possible to fit on a single line of the console output, applying both to regular and functional tasks.