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 expiring-todo-comments crashing on invalid package version #494

Merged
merged 1 commit into from Jan 21, 2020

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Jan 3, 2020

packageJson.version could be undefined, tryToCoerceVersion function will fail.

Not sure if this fixes #479

@sindresorhus sindresorhus merged commit fd46adc into sindresorhus:master Jan 21, 2020
@fisker fisker deleted the fix-expiring-todo-comments branch January 21, 2020 07:37
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.

Error while loading rule unicorn/expiring-todo-comments
2 participants