Skip to content

Commit

Permalink
Apply protobuf workaround only on jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Oct 15, 2024
1 parent 91cbebe commit 6605643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sass/compiler/host/protofier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def from_proto(proto)
when :number
Number.from_proto(obj)
when :color
obj.to_s # TODO: https://github.com/protocolbuffers/protobuf/issues/18807
obj.to_s if RUBY_ENGINE == 'jruby' # TODO: https://github.com/protocolbuffers/protobuf/issues/18807
Sass::Value::Color.send(
:for_space,
obj.space,
Expand Down

0 comments on commit 6605643

Please sign in to comment.