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

builtin/pagerank: error thrown when the page does not have a pagerank #86

Closed
DavidBruant opened this issue Mar 12, 2012 · 1 comment
Closed

Comments

@DavidBruant
Copy link

When a page doesn't have a pagerank, the following error is thrown:
TypeError: Cannot call method 'match' of undefined

Playing with the JS code, I discovered that for pages which do not have a pagerank, the data argument is set to undefined which obviously makes data.match(...) fail with the above error.

I'll let people who know coffeescript writing a fix because I'm fully incompetent in coffeescript, sorry :-s

@chriso
Copy link
Contributor

chriso commented Mar 19, 2012

Thanks for spotting this. Fixed in the latest release

@chriso chriso closed this as completed in 6ecc1a8 Mar 19, 2012
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

2 participants