Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle process.stdout.columns being negative
Adam Miskiewicz reported a RangeError raised when running on macOS 10.12, with Node 8.6. This would would have been caused by process.stdout.columns returning a negative number. If the value is negative, assume a width of 100 characters (as present in spinner-progress.js).
- Loading branch information