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

lookup, Cannot read property 'toLowerCase' of undefined #50

Open
Truemedia opened this issue Nov 21, 2021 · 2 comments
Open

lookup, Cannot read property 'toLowerCase' of undefined #50

Truemedia opened this issue Nov 21, 2021 · 2 comments
Labels

Comments

@Truemedia
Copy link

I get this error when using cli with following command:

wordpos get over

Not sure if it's an issue progmatically aswell

@moos
Copy link
Owner

moos commented Nov 21, 2021

I can reproduce:

$ wordpos get over
  return word.toLowerCase().replace(/\s+/g, '_');

"over" is a stop-word and that's causing the error. Try wordpos -w get over to not strip stopwords for now.

@moos moos added the bug label Nov 21, 2021
@Truemedia
Copy link
Author

Ah that makes sense and yes that works for me thanks

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

No branches or pull requests

2 participants