Comments (4)
I was able to reproduce this issue.
Between https://github.com/sindresorhus/time-grunt/blob/master/index.js#L80-L84, the code is calculating the maxBarWidth by comparing the length of longest task name and column size. I'm assuming the default is half of the column width, otherwise add 20 to the longest task name as padding. The padding ends up creating a negative value.
I have created a PR related to this issue. Let me know what you think
from time-grunt.
For now I locally added a barLength = Math.max(barLength, 0);
to keep the ball rolling.
from time-grunt.
I'll have to fix this one, it's getting too annoying for me.
from time-grunt.
Hi @dasilvacontin. I can't reproduce this problem.
from time-grunt.
Related Issues (20)
- Execution start time is always in UTC HOT 8
- Feature request: Ignore Tasks HOT 3
- allow custom barChar character, or non utf8 option HOT 4
- builder is not defined HOT 1
- Command line support HOT 5
- Ctrl+C not working HOT 4
- [feature] Allow depth configuration or whitelist HOT 4
- Execution time (date+time) is wrong HOT 1
- --no-color flag does nothing HOT 3
- TypeError: chalk.stripColor is not a function HOT 1
- Maintainer needed HOT 4
- xo 0.15.0 throwing lint error
- Abstracted grunt hooks package HOT 4
- Not outputting total elapsed time unless grunt is called with `--no-color` option HOT 5
- Disable for independent runs
- Callback is not called when exit HOT 1
- Prevents Jest from completion HOT 1
- LESS option 'spawn HOT 1
- grunt-contrib-watch option 'spawn': false blocks time-grunt? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from time-grunt.