diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-12-26 18:50:43 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-12-26 18:50:43 -0800 |
commit | f84a238a1d8d0060d5064eee0b74ed942088d4fd (patch) | |
tree | d26039e8502c84a0c2e2c947227bab5f02139c81 /Gemfile | |
parent | 50a0001bae754c66feb69c84b64cb305a03a34d2 (diff) | |
download | chef-f84a238a1d8d0060d5064eee0b74ed942088d4fd.tar.gz |
Resolve Performance/RegexpMatch warningsPerformance_RegexpMatch
Do regex checks without creating objects for the results.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ group(:omnibus_package, :pry) do # some work is ongoing? https://github.com/deivid-rodriguez/pry-byebug/issues/343 gem "pry", "= 0.13.0" # byebug does not install on freebsd on ruby 3.0 - gem "pry-byebug" unless RUBY_PLATFORM =~ /freebsd/i + gem "pry-byebug" unless RUBY_PLATFORM.match?(/freebsd/i) gem "pry-stack_explorer" end |