Skip to content

Commit

Permalink
fix wrong variable name (very unlikely code path)
Browse files Browse the repository at this point in the history
  • Loading branch information
MidAutumnMoon committed Sep 17, 2024
1 parent 4c8aff5 commit cb263a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reinbow/painter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def paint!( data:, layer: :fg )
ground = layer == :fg ? 38 : 48
@sgr_stack.push( "\e[#{ground};2;#{red};#{green};#{blue}m" )
else
raise NotImplementedError, "Can't paint #{code.class}"
raise NotImplementedError, "Can't paint #{data.class}"
end

self
Expand Down

0 comments on commit cb263a0

Please sign in to comment.