Skip to content

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

Open
penmanglewood wants to merge 1 commit intorubyworks:masterfrom
penmanglewood:master
Open

:tweak: Remove empty lines in Hash to prevent Ruby 2.2 warnings#31
penmanglewood wants to merge 1 commit intorubyworks:masterfrom
penmanglewood:master

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