Skip to content

Commit

Permalink
[ruby/irb] Fix typo of variable
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta authored and matzbot committed Oct 4, 2021
1 parent e54d1e9 commit 31332cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/irb.rb
Expand Up @@ -613,7 +613,7 @@ def encode_with_invalid_byte_sequence(str, enc)
ret = conv.primitive_convert(str, dst)
case ret
when :invalid_byte_sequence
conv.insert_output(conf.primitive_errinfo[3].dump[1..-2])
conv.insert_output(conv.primitive_errinfo[3].dump[1..-2])
redo
when :undefined_conversion
c = conv.primitive_errinfo[3].dup.force_encoding(conv.primitive_errinfo[1])
Expand Down

0 comments on commit 31332cf

Please sign in to comment.