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 crash for Reek 6.0.4 #4010

Merged
merged 1 commit into from
Dec 13, 2021
Merged

Fix crash for Reek 6.0.4 #4010

merged 1 commit into from
Dec 13, 2021

Conversation

phongnh
Copy link
Contributor

@phongnh phongnh commented Dec 12, 2021

When let g:ale_ruby_reek_show_wiki_link = 1, Reek linter is crashed
because wiki_link attribute does not exist in result.

It seems that wiki_link is now replaced with documentation_link in
recent version of Reek

Please help to review this PR, thanks.

 When `let g:ale_ruby_reek_show_wiki_link = 1`, Reek linter is crashed
 because `wiki_link` attribute does not exist in result.

 It seems that `wiki_link` is now replaced with `documentation_link` in
 recent version of Reek
Copy link
Contributor

@hsanson hsanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix. Solves the issue while keeping backward compatibility.

@hsanson hsanson merged commit e4ec2e4 into dense-analysis:master Dec 13, 2021
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.

None yet

2 participants