diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-11 13:42:34 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-14 09:51:49 -0700 |
commit | 3a7af28896be3702b933bd13dcfff96b98314ebd (patch) | |
tree | 23a9b9d00245fe21b81742feefdf31c8549d8b70 /lib/chef/provider/package/chocolatey.rb | |
parent | 02775faa30db6a9ae98597cb6cd0e0c4defa7dc4 (diff) | |
download | chef-drop_23.tar.gz |
Use match? where we don't need the match datadrop_23
This is a Ruby 2.4-ism that's faster than =~ because it doesn't actually store the match. This is just autocorrected from Rubocop's Performance/RegexpMatch
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/provider/package/chocolatey.rb')
0 files changed, 0 insertions, 0 deletions