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

Fix typo #26

Merged
merged 1 commit into from
Nov 14, 2021
Merged

Fix typo #26

merged 1 commit into from
Nov 14, 2021

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Nov 14, 2021

Need to use the stringWidth imported from 'string-width'.

Without:

ReferenceError: width is not defined

@wooorm wooorm changed the title Fix typo in README: width -> stringWidth Fix typo Nov 14, 2021
@wooorm wooorm merged commit b9871fb into wooorm:main Nov 14, 2021
@wooorm
Copy link
Owner

wooorm commented Nov 14, 2021

Thanks @hugovk!

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

Successfully merging this pull request may close these issues.

2 participants