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

right align not working? #9

Open
psq opened this issue Jan 23, 2021 · 0 comments
Open

right align not working? #9

psq opened this issue Jan 23, 2021 · 0 comments

Comments

@psq
Copy link

psq commented Jan 23, 2021

using node 14.x/15.x, the right align feature does not appear to work.

It may be because the padEnd function does not have 3 parameters. So for now I just copied and patched in my repo (breaking left alignment), but if you interested in a PR, I'd be happy to provide one, although I'm not sure how I would support middle (whether the extra char would be on the left or right?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant