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 unescape and keyword parameters warning #1490

Conversation

muratiger
Copy link
Contributor

I fixed the two warnings.

1 warning: URI.unescape is obsolete

I replaced URI.unescape with CGI.unescape.
https://docs.rubocop.org/rubocop/cops_lint.html#examples-111

2 warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call

I added **.

@MaicolBen MaicolBen merged commit ea2b04f into lynndylanhurley:master Jun 15, 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.

2 participants