diff options
author | Tim Smith <tsmith@chef.io> | 2018-06-28 21:17:34 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-07-02 09:21:23 -0700 |
commit | 896ecc78d7cb85b98f9611c73acd25c3d8728995 (patch) | |
tree | c586c8c3f0e7210502ab8a9fd00804e646bfa26e /.rubocop.yml | |
parent | cb90ed45d4e8afa4e5899222a78b201e1d967a53 (diff) | |
download | ohai-896ecc78d7cb85b98f9611c73acd25c3d8728995.tar.gz |
Resolve 2 unneeded sort warnings
We're trying to get the min so use min vs. sort then first.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index f1e7a135..e948a583 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -10,3 +10,6 @@ Layout/Tab: Exclude: - "lib/ohai/plugins/mono.rb" - "lib/ohai/plugins/darwin/hardware.rb" + +Performance/UnneededSort: + Enabled: true |