diff options
author | Tim Smith <tsmith84@gmail.com> | 2019-12-20 15:15:04 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2019-12-20 15:15:04 -0800 |
commit | fdbb0d01ca01f0a3a6b784dcd364d8906cf8dbce (patch) | |
tree | 3704fc4facb5448b6da909970fc5b94fdefc5168 | |
parent | dfce5063fd9ce74676d32e7ba7c755271b846e57 (diff) | |
download | ohai-fdbb0d01ca01f0a3a6b784dcd364d8906cf8dbce.tar.gz |
Substitute require for require_relative
require_relative is significantly faster and should be used when available.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/ohai/plugins/filesystem.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/filesystem.rb b/lib/ohai/plugins/filesystem.rb index e2671635..f81d1ada 100644 --- a/lib/ohai/plugins/filesystem.rb +++ b/lib/ohai/plugins/filesystem.rb @@ -747,7 +747,7 @@ Ohai.plugin(:Filesystem) do collect_data(:windows) do require "wmi-lite/wmi" - require "ohai/mash" + require_relative "../mash" fs = merge_info(logical_info, encryptable_info) |