Skip to content

Commit

Permalink
Adjust indent [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Feb 22, 2024
1 parent 88431c4 commit 5f7f229
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tool/lib/envutil.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ def capture_global_values
@original_internal_encoding = Encoding.default_internal
@original_external_encoding = Encoding.default_external
@original_verbose = $VERBOSE
@original_warning = if defined?(Warning.[]) # 2.7+
%i[deprecated experimental performance].to_h do |i|
[i, begin Warning[i]; rescue ArgumentError; end]
end.compact
end
@original_warning =
if defined?(Warning.[]) # 2.7+
%i[deprecated experimental performance].to_h do |i|
[i, begin Warning[i]; rescue ArgumentError; end]
end.compact
end
end
end

Expand Down

0 comments on commit 5f7f229

Please sign in to comment.