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

:tweak: Remove empty lines in Hash to prevent Ruby 2.2 warnings #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

penmanglewood
Copy link

On Ruby 2.2.0, I get the following warning:

/usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ansi-1.4.3/lib/ansi/chart.rb:26: warning: duplicated key at line 29 ignored: :concealed

This warning won't show if there are no blank lines inside a Hash, so I removed them

This was introduced in https://bugs.ruby-lang.org/issues/10315

@nickgrim
Copy link

This looks like the error referenced in #20 and fixed in 1.5.0.

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