diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-06 10:38:39 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-06 10:38:39 -0800 |
commit | 011db28d6c3026ac41b9c519a87643d70ecf9be5 (patch) | |
tree | 636e072786c5aa143ce3cd964da1548f5b1ea818 /lib/ohai/plugins/darwin/system_profiler.rb | |
parent | dfa786b965a649349ef77def4c22af454c33ccb0 (diff) | |
download | ohai-011db28d6c3026ac41b9c519a87643d70ecf9be5.tar.gz |
Resolve the last of the chefstyle warningsgreen_travis
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/ohai/plugins/darwin/system_profiler.rb')
-rw-r--r-- | lib/ohai/plugins/darwin/system_profiler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/darwin/system_profiler.rb b/lib/ohai/plugins/darwin/system_profiler.rb index 20798cc4..6fe375c1 100644 --- a/lib/ohai/plugins/darwin/system_profiler.rb +++ b/lib/ohai/plugins/darwin/system_profiler.rb @@ -64,7 +64,7 @@ SPAirPortData}, end end - system_profile items.sort_by { |h| h["_dataType"] } + system_profile ( items.sort_by { |h| h["_dataType"] } ) # rubocop: disable Lint/ParenthesesAsGroupedExpression rescue LoadError => e Ohai::Log.debug("Can't load gem: #{e})") end |