Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit e955555

Browse files
committed
Supress Github Action warning
1 parent 964a110 commit e955555

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/rspec/support/spec/shell_out.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def run_ruby_with_current_load_path(ruby_command, *flags)
5959
%r{bundler/source/rubygems},
6060
# Ignore bundler + rubygems warning.
6161
%r{site_ruby/\d\.\d\.\d/rubygems},
62-
%r{jruby-\d\.\d\.\d\.\d/lib/ruby/stdlib/rubygems},
62+
%r{jruby-\d\.\d\.\d+\.\d/lib/ruby/stdlib/rubygems},
6363
# This is required for windows for some reason
6464
%r{lib/bundler/rubygems},
6565
# This is a JRuby file that generates warnings on 9.0.3.0
@@ -70,8 +70,10 @@ def run_ruby_with_current_load_path(ruby_command, *flags)
7070
%r{ffi-1\.13\.\d+-java},
7171
%r{uninitialized constant FFI},
7272
# These are related to the above, there is a warning about io from FFI
73-
%r{jruby-\d\.\d\.\d\.\d/lib/ruby/stdlib/io},
73+
%r{jruby-\d\.\d\.\d+\.\d/lib/ruby/stdlib/io},
7474
%r{io/console on JRuby shells out to stty for most operations},
75+
# This is a JRuby 9.1.17.0 error on Github Actions
76+
%r{io/console not supported; tty will not be manipulated},
7577
]
7678

7779
def strip_known_warnings(input)

0 commit comments

Comments
 (0)